Received: by 2002:a05:7412:f584:b0:e2:908c:2ebd with SMTP id eh4csp1942535rdb; Tue, 5 Sep 2023 09:24:03 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE+lwi77N5jThSWI38ZFBYKt5tvMEWrpFHUVp2PLlwGGstl7aqL6nV+KIliGZY4isx+X3UZ X-Received: by 2002:a17:907:774e:b0:99b:ed44:1a79 with SMTP id kx14-20020a170907774e00b0099bed441a79mr274343ejc.3.1693931043576; Tue, 05 Sep 2023 09:24:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693931043; cv=none; d=google.com; s=arc-20160816; b=KrVcXktptku0e84EgaaiEt/k9q98cNPB2MBzUSqmTELFczUOp73U1PJx3hd2B92HfU Pg6HkaPFNMspTiIC1BbYMjoCpxdsORfX85ff/Xp3pWhXuaidRsrDb1bZZrImRiTT4U6l Y9YFKJLkh9+X+1xnctU9Sy2Xu09KVb+C/ELE4v/8XxSj8kd/gdMKR50AKDWWP9vXK/8C YuUptc8iyinfD+Nckxff0BfA5xpCMZ/cTKsR7TDphvfC0TjVoPMqttP0pDAb4ty+yJhy xnV5W13dux7YSJJ7IfYP/Z6gEytkV18LLUpX5CxsfdtfKXEC88c/p9zWI3g7OuOmz7e7 kOWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=I3+JMCzSJ4gfBteDiTkT+qx+gms+oiPqu0bIgfoEdCE=; fh=sKDW3k9ine7jsa9uwVqeZR32YWxihohqGOLgo6tx9EU=; b=c8FpnvLJ7fLdyG2Psy0eUZJjbOLqkqa7PJ7ADBZewizRLTagGyZ7V7Nob1CCXrvLj/ WHxV0deds4ZSqPXSL1tFa516gaInETDji8MnvmHdPg2ywnrSAlxWDV4nBffJgSqQ8NZt UqvQXF0eBYmBmho8bDqF3/lXleRpjfkqiMPNqsNF/Men8Bk/YvgXIkW3nn13GjkNYRjy yD+z5G0dqmEoCcc9gkIZZ/jvoRLTAVVDTexeT2NYMILwktdcoV+MHIt8rZgFNkAP2lZl ATqiCnNVe2A61wSUsxxUxgp9qqxZLewuFW5wUjX3qjnqcPMVxKHz3QBjVp5hxnOchBtt PMvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=ZJL7ThHe; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ja8-20020a170907988800b00982c06b45d9si8120820ejc.816.2023.09.05.09.24.00; Tue, 05 Sep 2023 09:24:03 -0700 (PDT) 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 (test mode) header.i=@ideasonboard.com header.s=mail header.b=ZJL7ThHe; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243410AbjHaILY (ORCPT + 7 others); Thu, 31 Aug 2023 04:11:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41674 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229926AbjHaILY (ORCPT ); Thu, 31 Aug 2023 04:11:24 -0400 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 12616E40; Thu, 31 Aug 2023 01:10:54 -0700 (PDT) Received: from ideasonboard.com (93-61-96-190.ip145.fastwebnet.it [93.61.96.190]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id BBC3FC67; Thu, 31 Aug 2023 10:09:08 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1693469348; bh=b8/Udjr0oCkOQOIEmCEgqmT3Dk8r22N7GrGSwPkkQm4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ZJL7ThHe/e4HI5zGlhZKDSwV5bydBBxUOzNxy+asP0U59oba7vERinWQYcDb5ONLJ Ie3OnHpkFtOZi9Rf3Z3bVAeFSpacfqZKyN7RN+W/DVpEmzRzIQyPqLQBKT/jmTcWgi B1+S+1pdAbYZ9XeH7zC8zEfEg4mXnPuex9PLJDJE= Date: Thu, 31 Aug 2023 10:10:28 +0200 From: Jacopo Mondi To: Christophe JAILLET Cc: Jacopo Mondi , Kieran Bingham , Laurent Pinchart , Niklas =?utf-8?Q?S=C3=B6derlund?= , Mauro Carvalho Chehab , Sakari Ailus , linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, linux-media@vger.kernel.org Subject: Re: [PATCH] media: i2c: max9286: Remove an incorrect fwnode_handle_put() call Message-ID: References: <26387273c902ce938a25647b6ccd9b8584284096.1693428894.git.christophe.jaillet@wanadoo.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <26387273c902ce938a25647b6ccd9b8584284096.1693428894.git.christophe.jaillet@wanadoo.fr> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Christophe, On Wed, Aug 30, 2023 at 10:57:36PM +0200, Christophe JAILLET wrote: > The commit in Fixes has removed an fwnode_handle_put() call in the error > handling path of max9286_v4l2_register(). > > Remove the same call from max9286_v4l2_unregister(). > > Fixes: 1029939b3782 ("media: v4l: async: Simplify async sub-device fwnode matching") > Signed-off-by: Christophe JAILLET Reviewed-by: Jacopo Mondi Thanks j > --- > drivers/media/i2c/max9286.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/media/i2c/max9286.c b/drivers/media/i2c/max9286.c > index f27a69b1b727..fc1cf196ef01 100644 > --- a/drivers/media/i2c/max9286.c > +++ b/drivers/media/i2c/max9286.c > @@ -1110,7 +1110,6 @@ static int max9286_v4l2_register(struct max9286_priv *priv) > > static void max9286_v4l2_unregister(struct max9286_priv *priv) > { > - fwnode_handle_put(priv->sd.fwnode); > v4l2_ctrl_handler_free(&priv->ctrls); > v4l2_async_unregister_subdev(&priv->sd); > max9286_v4l2_notifier_unregister(priv); > -- > 2.34.1 >