[PATCH v3] media: hantro: release runtime resources when device_run fails

Tharit Tangkijwanichakul tharitt97 at gmail.com
Tue Jul 28 22:59:23 PDT 2026


> You need sperate patch to remove this. simple remove this here may cause
> build error or warning at NO CONFIG_PM config
>
> I suggest use following patch do below thing
>
> 1. Remove CONFIG_PM
>
> 2. Use DEFINE_RUNTIME_DEV_PM_OP()
>
> 3, Need update
>
> .pm = pm_ptr(&hantro_pm_ops),
>
> Frank

Thanks for the suggestion and the patience walking me through. I will
send the v5 series as suggested.

Best,
Tharit



More information about the Linux-rockchip mailing list