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

From: Tharit Tangkijwanichakul

Date: Wed Jul 29 2026 - 01:59:48 EST


> 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