17.07.2025 17:21, Svyatoslav Ryhel пишет:
> @@ -525,6 +599,14 @@ static int tegra_mipi_probe(struct platform_device *pdev)
>               return PTR_ERR(mipi->clk);
>       }
>  
> +     if (mipi->soc->dsi_v0) {
> +             mipi->csi_clk = devm_clk_get_prepared(&pdev->dev, "csi");
> +             if (IS_ERR(mipi->csi_clk)) {

Doesn't look like the clock needs to be prepared. Normally, you would
need to have clock prepared if clock is enabled/disabled from a context
that can't sleep, like under spinlock or in IRQ handler. AFAICT, this
not the case here.

Reply via email to