Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp1605925pxb; Wed, 2 Feb 2022 08:31:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJxWNrlDYuWipqXfpUuQkW7dYHOC8NhltIp1lWWtUiGdLpPkQqXDB9BlO4654pw7yU60yN7D X-Received: by 2002:a17:902:7c02:: with SMTP id x2mr30448915pll.47.1643819517799; Wed, 02 Feb 2022 08:31:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643819517; cv=none; d=google.com; s=arc-20160816; b=E8vQ3E23FHSMXd9R0HTjFVnBCT+BeqIT/r03kFnBHWyNlTngg7KNJAJBN3xYco0hA8 cg1UfSMzeBla1xN3W/TVzLxmnGkR7sY3Gdn0hxPEwQuKrDR7oOA2OPeBonpLbdLLh83w CuKXlU8BFvRDB1giFXcUzvPIwlkUqTMf1GdxwjWCcZXMJZTxkYc7YDo/ojBBTq8WBJBp 98IwL2ZFP8CF6R55VeHFB9lkWrFFeVeBmxJ0Yorc2H4sT8QeVeVhdmB46E1hzvIWk4ZW 5ee7YkNT3+hMiq6M6bDT0CVZQw62rLLoiWYBADpTf/Fg/Ghn34AwNEyi67MDPh1KdLFx xP9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:message-id :in-reply-to:subject:cc:to:from:date:dkim-signature; bh=TnPrKj3pSv3mhewxa33XS+vgSFkpgE3sN/3ziLOoyVo=; b=IdfFoCZNYkuvUUKwuiy+f+nnSfgSZ+iUhqbkriKtCe0xWP9rgwphymcFgAQk6LvKIT NfEeRYeDmYKCvEPWSS1uRHCqNvqL+YMDbqjXnidyS70O0O3AP3dOdF9wVXrsHRgTzy2s SkOTS8/UIWpkCn/7OFlPM2iOpRLinv0Dre/5hFFbQVoHp20doA94GaWztoWslCOfnp8O L6tu/Awdzpsu88x0ZEVWaQ4XBXqa60kAW7rgbcoLrZZCuDD3wVCR0ZhtV1ii+48vYw0a x0u2QbObVf6WegbMMG1oWrJ4M5UNQovFr+XHOo0078vYHsvcZ04p8bKOEm6z2AXBNV44 7AYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="VbC/Pd7A"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z11si18899467pfh.44.2022.02.02.08.31.45; Wed, 02 Feb 2022 08:31:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="VbC/Pd7A"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344432AbiBBNse (ORCPT + 99 others); Wed, 2 Feb 2022 08:48:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60292 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229526AbiBBNsd (ORCPT ); Wed, 2 Feb 2022 08:48:33 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8E880C06173D; Wed, 2 Feb 2022 05:48:33 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 2F56461785; Wed, 2 Feb 2022 13:48:33 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 755E7C340ED; Wed, 2 Feb 2022 13:48:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1643809712; bh=XjTJem+30ZyIBwh4Nkm1WxzMwfFDFgfZ62ha20UK10c=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=VbC/Pd7AddMBKKCY3dFEPFxZqDASVrLnoXy+LqbP1fEMUKfIQuFJwYTwTqWPfSYkK k/xosadkPqb/Ql9BBpyY99i9c/wGmGC5QlpdS/3Xe3TB/1zdyMt83k6qrdu3bxEo5l LpqpL9+Mpxtt555O1kdceLfTMPjgfFdSmv9lp8CdcyCqOqNWLwLU76b37naN6HQavS JNX/d925kXDEvXyWUKKM9DjQ0CRPun2UE4RQSB0V5BrWphvxuvZcnwvtDoaXtFNXe+ UkROIpaZ74UELCi/I3u14GR2i6wIjsdGeTMbBxA5M07jFxuU3yLqviiGhefitu+4oy BCCBFDbmVKviw== Date: Wed, 2 Feb 2022 14:48:29 +0100 (CET) From: Jiri Kosina To: Doug Anderson cc: Daniel Thompson , Benjamin Tissoires , "open list:HID CORE LAYER" , LKML Subject: Re: [PATCH] HID: i2c-hid: goodix: Fix a lockdep splat In-Reply-To: Message-ID: References: <20220128174625.321750-1-daniel.thompson@linaro.org> User-Agent: Alpine 2.21 (LSU 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 28 Jan 2022, Doug Anderson wrote: > > I'm was on the receiving end of a lockdep splat from this driver and after > > scratching my head I couldn't be entirely sure it was a false positive > > given we would also have to think about whether the regulator locking is > > safe (since the notifier is called whilst holding regulator locks which > > are also needed for regulator_is_enabled() ). [ ... snip ... ] > > Signed-off-by: Daniel Thompson > > --- > > drivers/hid/i2c-hid/i2c-hid-of-goodix.c | 28 +++++++++++-------------- > > 1 file changed, 12 insertions(+), 16 deletions(-) > > Yes, this seems like a reasonable solution, thanks! Probably want: > > Fixes: 18eeef46d359 ("HID: i2c-hid: goodix: Tie the reset line to true > state of the regulator") > > Reviewed-by: Douglas Anderson Thanks, queued for 5.17. -- Jiri Kosina SUSE Labs