Re: [PATCH v3] media: hantro: release runtime resources when device_run fails
Tharit Tangkijwanichakul <[email protected]> Wed, 29 Jul 2026 12:59:23 +0700
| Newsgroups | dev.linux.lists.linux-kernel-mentees,org.infradead.lists.linux-rockchip,org.kernel.vger.linux-kernel,org.kernel.vger.linux-media |
|---|---|
| Message-ID | <CACak8wPrYOmHKCBP2R7udaFyx0mW1z3f_A9ivaGb5ATNgqujhQ@mail.gmail.com> |
> 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