From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755939AbcEXL2M (ORCPT ); Tue, 24 May 2016 07:28:12 -0400 Received: from mail-oi0-f43.google.com ([209.85.218.43]:34974 "EHLO mail-oi0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755622AbcEXL2J (ORCPT ); Tue, 24 May 2016 07:28:09 -0400 MIME-Version: 1.0 In-Reply-To: <52054a54539759100d9c926c78616858b12a2089.1463164919.git.leonard.crestez@intel.com> References: <3d90f889782a9c8380c3694e55a135ddd6de9bc4.1463164919.git.leonard.crestez@intel.com> <52054a54539759100d9c926c78616858b12a2089.1463164919.git.leonard.crestez@intel.com> Date: Tue, 24 May 2016 13:28:07 +0200 Message-ID: Subject: Re: [PATCH 2/3] iio: st_sensors: Disable DRDY at init time From: Linus Walleij To: Crestez Dan Leonard Cc: Jonathan Cameron , "linux-iio@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , Daniel Baluta , Giuseppe Barba , Denis Ciocca Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 13, 2016 at 8:43 PM, Crestez Dan Leonard wrote: > This fixes odd behavior after reboot. > > The fact that we set the device to powerdown mode is not sufficient to > prevent DRDY being active because we might still have an unread sample. > > Even if powerdown was sufficient keeping DRDY disabled while trigger is > not active is a good idea. > > Cc: Linus Walleij > Cc: Giuseppe Barba > Cc: Denis Ciocca > Signed-off-by: Crestez Dan Leonard Reviewed-by: Linus Walleij Yours, Linus Walleij