From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932519AbcE2T22 (ORCPT ); Sun, 29 May 2016 15:28:28 -0400 Received: from saturn.retrosnub.co.uk ([178.18.118.26]:34370 "EHLO saturn.retrosnub.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932315AbcE2T20 (ORCPT ); Sun, 29 May 2016 15:28:26 -0400 Subject: Re: [PATCH 2/3] iio: st_sensors: Disable DRDY at init time To: Linus Walleij , Crestez Dan Leonard References: <3d90f889782a9c8380c3694e55a135ddd6de9bc4.1463164919.git.leonard.crestez@intel.com> <52054a54539759100d9c926c78616858b12a2089.1463164919.git.leonard.crestez@intel.com> Cc: "linux-iio@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , Daniel Baluta , Giuseppe Barba , Denis Ciocca From: Jonathan Cameron Message-ID: Date: Sun, 29 May 2016 20:28:24 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 24/05/16 12:28, Linus Walleij wrote: > 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 Applied to the fixes-togreg-post-rc1 branch of iio.git. Note I'm taking these without Denis ack as he is snowed under right now and this set aren't terribly 'exciting' (hopefully) Jonathan > > Yours, > Linus Walleij > -- > To unsubscribe from this list: send the line "unsubscribe linux-iio" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >