Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp1156487rdf; Wed, 22 Nov 2023 07:05:54 -0800 (PST) X-Google-Smtp-Source: AGHT+IHFNOX0XYTbuDge55UGm73IMcXfz8GA2MIK5R6GmY2p8nTYkhk0ABigMZy3GpsOPo2fthxH X-Received: by 2002:a9d:6a52:0:b0:6af:7760:f2d0 with SMTP id h18-20020a9d6a52000000b006af7760f2d0mr2995345otn.32.1700665551828; Wed, 22 Nov 2023 07:05:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700665551; cv=none; d=google.com; s=arc-20160816; b=DtJ9h0onoUbhNKBEFi5atd/+vx3wVWLna3IYp56ej61gtsWetoAytaSl95D6uvPANu BcxpzBsSOVBmCv0ICZOGfco3eNuxCPExgOEfYWx9x8uUkcs/CYD6cCVpJFp+Q2UFIkE3 kLOyL7h0qn+NYno2REvHx/KPihzjO0apctpIOQ1tSNE61TfISKSpTXuQe2QJr+bbL6iZ E9WmPV0gx7sbsknYCpZY2goePWjDIzryvUFYdWB46jl+/T0Imd2oxqnAnV7vSVYiwlvy sStXxm4DYWAeb1vxGY1t7cMeNESrIafGxfHx6snqqj+9bPJQHeYna3em4DLN6GhmBhgW 2yKQ== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=6PUJQE9EvEs0f0Ov50hY4507kJI9MaowPGFAmamYg+M=; fh=vifYba1JHrM6V+LeJqaKn5lLHnM2ttFKOrRRlduBfdM=; b=NPIxWJ8NRQInOhT38dqdNdO5UBATzp2CepPpIOgADfCAOD8bgr/veDTyMr8x9njWZy h1OuZDEJMvaYCT0BqkSj1zgT9da5fmQa8EO0YsQQ/ZwZQibq0viTLGATNWC4MKOYF29B YTZhPfF4Y8l/4zvuQ4MIFWtMhL0VKrHBYmWgJFbE8Dt6lDgmSbRN3GOH1h1o7VXTZ/zv 79uyk/QBDuA7Hxgos9hMTReWCW0mV7Q3jPOg89m/KXJbFQtyzr9Gutps+OsF1z7d5ykV 28llvM+iXhy17rEhzIzw9ke5bhYwXYywyLFiH1KBtrzCU6bDUZifLlDO5ElAEyVLnsVD 5Bzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=CShra8iy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id bm9-20020a056820188900b0057babfeb85dsi4861823oob.46.2023.11.22.07.05.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 07:05:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=CShra8iy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id E853B81DE206; Wed, 22 Nov 2023 07:05:43 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344332AbjKVPFc (ORCPT + 99 others); Wed, 22 Nov 2023 10:05:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58006 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235167AbjKVPFa (ORCPT ); Wed, 22 Nov 2023 10:05:30 -0500 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 12B80A3; Wed, 22 Nov 2023 07:05:27 -0800 (PST) Received: from pendragon.ideasonboard.com (213-243-189-158.bb.dnainternet.fi [213.243.189.158]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id A3F8B29A; Wed, 22 Nov 2023 16:04:54 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1700665494; bh=8pF7Wg5LEFskYqmGH2k4O2UFRmY8lfO9msZUpnevj7g=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=CShra8iyVGhL/seg8ngLF0omh8ppTpS6fheUMXaFeIPh35gDLO3lI9zoQ8az5KjUU n55jw8XjIERadtTj31vPB8hIJ9+RAL35BjYl3dBxBaTyuFGxEagyXxj/L7+DJxGGjz N+cTzMP2JWtSaeGmmbIZ5uTqRfSvxkLLTeJufE+M= Date: Wed, 22 Nov 2023 17:05:32 +0200 From: Laurent Pinchart To: Tomi Valkeinen Cc: Fabio Estevam , Kieran Bingham , Rui Miguel Silva , Martin Kepplinger , Purism Kernel Team , Mauro Carvalho Chehab , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , NXP Linux Team , linux-media@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/2] media: imx-mipi-csis: csis clock fixes Message-ID: <20231122150532.GG8627@pendragon.ideasonboard.com> References: <20231122-imx-csis-v1-0-0617368eb996@ideasonboard.com> <61de2617-fdc2-4f0c-8ffc-5dfc99b825e7@ideasonboard.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <61de2617-fdc2-4f0c-8ffc-5dfc99b825e7@ideasonboard.com> 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,T_SCC_BODY_TEXT_LINE 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 22 Nov 2023 07:05:44 -0800 (PST) On Wed, Nov 22, 2023 at 03:44:33PM +0200, Tomi Valkeinen wrote: > On 22/11/2023 15:21, Fabio Estevam wrote: > > On Wed, Nov 22, 2023 at 10:14 AM Tomi Valkeinen wrote: > >> > >> Two fixes to the csis driver: One to fix remove() another to only enable > >> the clocks when needed. > >> > >> Signed-off-by: Tomi Valkeinen > >> --- > >> Tomi Valkeinen (2): > >> media: imx-mipi-csis: Fix clock handling in remove() > >> media: imx-mipi-csis: Drop extra clock enable at probe() > > > > Shouldn't both patches contain a Fixes tag? > > I think the issue is there in the original commit adding the driver: > > 7807063b862b ("media: staging/imx7: add MIPI CSI-2 receiver subdev for > i.MX7") > > However, the driver has changed along the way, and I'm not sure if the > original one had an actual bug. Nevertheless, the same pattern (wrt. > clocks and runtime) is there in the original one, and I think that > pattern is not correct even if it wouldn't have caused any visible issue. > > So I'll add that commit as Fixes-tag, but if someone with more knowledge > about the driver can verify this, that'd be great. Sounds fine to me. I assume you'll send a v2. -- Regards, Laurent Pinchart