Re: [PATCH] media: tegra-video: tegra210: ensure PHY is disabled in pg_mode stop path
From: Dan Carpenter
Date: Mon Apr 13 2026 - 04:06:35 EST
On Sun, Apr 12, 2026 at 04:36:00PM +0000, Hungyu Lin wrote:
> tegra210_csi_port_start_streaming() enables the CSI PHY regardless
> of pg_mode, but tegra210_csi_port_stop_streaming() skips disabling
> the PHY when pg_mode is set due to an early return.
>
> Remove the early return so that the PHY disable path is always
> executed, ensuring consistent teardown.
>
> Signed-off-by: Hungyu Lin <dennylin0707@xxxxxxxxx>
> ---
The obvious complaint is that this patch needs a Fixes tag.
The early return is suspicious but I don't believe you have tested this
patch. It would be better to not send untested patches like this,
because there is a risk that the author wrote what they did deliberately.
This code is six years old now, so the original author has probably
moved on to a different project. It's not necessarily that easy to
review and test the patch.
On the other hand, if someone from Nvidia wants to Ack this patch
then of course we'll merge the v2 of this which has a Fixes tag.
Just wait for someone from Nvidia to respond before resending.
regards,
dan carpenter