From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_2 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4D549C433E0 for ; Sat, 16 May 2020 16:34:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 205842076A for ; Sat, 16 May 2020 16:34:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1589646881; bh=8VsOCTUyZDLwAQDe0mi00nKcnUzxLfUqS+uzovdK438=; h=Date:From:To:Cc:Subject:In-Reply-To:References:List-ID:From; b=0NzzsBEKlYVJBk1L7PpRYJY22GYx2IvImKdLAW8Zn0M0+MLttQMP5SP0+mZbirhPJ V0lq/SoGkZV+6kGws8hGEtgbTlYhSNSAESmm67Jm5agpU5ocWq471OjkkTeGKLzP/x 6R0fiB/YReYVsAThf/zyLozPs23VZXJbBEIwl0n0= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726236AbgEPQek (ORCPT ); Sat, 16 May 2020 12:34:40 -0400 Received: from mail.kernel.org ([198.145.29.99]:33280 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726233AbgEPQek (ORCPT ); Sat, 16 May 2020 12:34:40 -0400 Received: from archlinux (cpc149474-cmbg20-2-0-cust94.5-4.cable.virginm.net [82.4.196.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B3F5C20767; Sat, 16 May 2020 16:34:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1589646880; bh=8VsOCTUyZDLwAQDe0mi00nKcnUzxLfUqS+uzovdK438=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=banzCGF/7ZSvWB96XaYeoOiTks4i/l2cqf3zeHhsa9JyFdKKfd3VD18iiVxuwW4sy 2qN8iLXxKABcxiuaw1Ec363iLPZL96xvyr+Eae76DppxX9SwQ7c1PEet5cRJYDK0wB eJDytC8+EHLDasQ9FYRfaXEYSFR68ORGNu6XRM+s= Date: Sat, 16 May 2020 17:34:35 +0100 From: Jonathan Cameron To: Linus Walleij Cc: Jonathan Bakker , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald , linux-iio , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v2] iio: light: gp2ap002: Take runtime PM reference on light read Message-ID: <20200516173435.674019bd@archlinux> In-Reply-To: References: X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org On Tue, 12 May 2020 11:03:22 +0200 Linus Walleij wrote: > On Sun, May 10, 2020 at 5:58 PM Jonathan Bakker wrote: > > > The light sensor needs the regulators to be enabled which means > > the runtime PM needs to be on. This only happened when the > > proximity part of the chip was enabled. > > > > As fallout from this change, only report changes to the prox > > state in the interrupt handler when it is explicitly enabled. > > > > Fixes: 97d642e23037 ("iio: light: Add a driver for Sharp GP2AP002x00F") > > Signed-off-by: Jonathan Bakker > > Reviewed-by: Linus Walleij > > Sorry for missing this! > > Yours, > Linus Walleij Applied to the fixes-togreg branch of iio.git. Thanks, Jonathan