From nobody Thu Oct 2 02:15:08 2025 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 20AD0304971; Thu, 25 Sep 2025 15:55:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.167.242.64 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758815734; cv=none; b=d2aO68aiq6hkCkoBEdDsa3we5/BopIrs+NUi8PSD1N229gyBbeiqlE/1UOGEF5YukA+oSwxEjxCOrXftr19dlL72HPhxJT5mo4+ISRGCDHlMDx9aa1gHtShfiy07HsmcmNzL1KzYarjUuOIMX1mhbNPtOWjx+lHU07h0t2yxmTc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758815734; c=relaxed/simple; bh=wxwjv0TH/jBveXmTmMdoYRFOMmVEcjeoTCUVDdp1DUg=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=EIkCOhMscWO8BGauOyQtaPHmxDv5Es8Whzw164S5VSgVxTvKFacjqCFMMoBWtbpgDIQriBxv1YtjYY3mjMNUqulZZQsYOkR3udPhLMqJehBy1O19YY5L7o81phRK9LLqlwAB8wWSW3nygNJ+rErEHPmK9Rszm3NSgsYu846B9/E= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ideasonboard.com; spf=pass smtp.mailfrom=ideasonboard.com; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b=NVoeSH+f; arc=none smtp.client-ip=213.167.242.64 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ideasonboard.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ideasonboard.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="NVoeSH+f" Received: from [127.0.1.1] (cpc89244-aztw30-2-0-cust6594.18-1.cable.virginm.net [86.31.185.195]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 223B51E32; Thu, 25 Sep 2025 17:54:02 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1758815642; bh=wxwjv0TH/jBveXmTmMdoYRFOMmVEcjeoTCUVDdp1DUg=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=NVoeSH+fYusndWUvE/2r4PXA/JAsYgOxUJvo0V6Dlm7AbTqj66i4uYy0Ah+hBvWmo nbvsI9YnOWQ2DJoowfCpbqTjP+acRfRls7kneiGejy5BXn8WvjOMMMNe5LU3rtJ03y CnXXPJvtlXT3Gwj4kbmzkti/oRgW9qdZwDSihQmI= From: Isaac Scott Date: Thu, 25 Sep 2025 16:54:27 +0100 Subject: [PATCH v4 2/4] media: imx-mipi-csis: Move redundant debug print in probe Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20250925-active-data-lanes-v4-2-8b54e3d5af6c@ideasonboard.com> References: <20250925-active-data-lanes-v4-0-8b54e3d5af6c@ideasonboard.com> In-Reply-To: <20250925-active-data-lanes-v4-0-8b54e3d5af6c@ideasonboard.com> To: Mauro Carvalho Chehab , Rui Miguel Silva , Laurent Pinchart , Martin Kepplinger , Purism Kernel Team , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Sakari Ailus Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, Isaac Scott X-Mailer: b4 0.13.0 The number of data lanes is already printed as part of mipi_csis_async_register(), making the first part of this print redundant. Remove the redundant print, and move the debug print for clock frequency to mipi_csis_parse_dt(). Signed-off-by: Isaac Scott Reviewed-by: Frank Li --- drivers/media/platform/nxp/imx-mipi-csis.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/media/platform/nxp/imx-mipi-csis.c b/drivers/media/pla= tform/nxp/imx-mipi-csis.c index d5de7854f579..7c2a679dca2e 100644 --- a/drivers/media/platform/nxp/imx-mipi-csis.c +++ b/drivers/media/platform/nxp/imx-mipi-csis.c @@ -1481,6 +1481,7 @@ static int mipi_csis_parse_dt(struct mipi_csis_device= *csis) struct device_node *node =3D csis->dev->of_node; =20 of_property_read_u32(node, "clock-frequency", &csis->clk_frequency); + dev_dbg(csis->dev, "clock frequency: %u\n", csis->clk_frequency); =20 csis->num_channels =3D 1; of_property_read_u32(node, "fsl,num-channels", &csis->num_channels); @@ -1566,9 +1567,6 @@ static int mipi_csis_probe(struct platform_device *pd= ev) goto err_unregister_all; } =20 - dev_info(dev, "lanes: %d, freq: %u\n", - csis->bus.num_data_lanes, csis->clk_frequency); - return 0; =20 err_unregister_all: --=20 2.43.0