28.04.2020 07:20, Sowjanya Komatineni пишет:
> +     ret = csi->ops->csi_streaming(csi_chan, chan->pg_mode, enable);
>  
> -     return csi->ops->csi_streaming(csi_chan, chan->pg_mode, enable);
> +     if ((ret < 0 || !enable) && atomic_dec_and_test(&csi->clk_refcnt))
> +             pm_runtime_put_sync(csi->dev);

There shouldn't be a need to sync the RPM here, hence just
pm_runtime_put(csi->dev). Same for the VI.

Reply via email to