Re: [PATCH] media: hantro: release runtime resources when device_run fails
Tharit Tangkijwanichakul <[email protected]> Sat, 25 Jul 2026 15:00:37 +0700
| Newsgroups | dev.linux.lists.linux-kernel-mentees,org.infradead.lists.linux-arm-kernel,org.infradead.lists.linux-rockchip,org.kernel.vger.linux-kernel,org.kernel.vger.linux-media |
|---|---|
| Message-ID | <CACak8wNJsmVKm3m+JwYPSxqfa26MVFRo3jE3YrppJPi5SBBAUg@mail.gmail.com> |
> Mix use runtime pm and clock is not good. > > You can put clk_bulk_enable() into runtime pm resume call back > and clk_bulk_disable() into runtime pm suspend call back. > > Frank Hi Frank, Thanks for the suggestion. I will inspect the hantro pm_runtime call sites and let me implement your suggestion into v3. Best, Tharit