Re: [PATCH 13/78] staging: media: hantro_drv: use pm_runtime_resume_and_get()

2021-04-24 Thread Ezequiel Garcia
Hi Mauro, On Sat, 2021-04-24 at 08:44 +0200, Mauro Carvalho Chehab wrote: > Commit dd8088d5a896 ("PM: runtime: Add pm_runtime_resume_and_get to deal with > usage counter") > added pm_runtime_resume_and_get() in order to automatically handle > dev->power.usage_count decrement on errors. > > Use t

Re: [PATCH 11/78] staging: media: rkvdec: fix pm_runtime_get_sync() usage count

2021-04-24 Thread Ezequiel Garcia
On Sat, 2021-04-24 at 08:44 +0200, Mauro Carvalho Chehab wrote: > The pm_runtime_get_sync() internally increments the > dev->power.usage_count without decrementing it, even on errors. > replace it by the new pm_runtime_resume_and_get(), introduced by: > commit dd8088d5a896 ("PM: runtime: Add pm_run

Re: [PATCH 17/78] staging: media: vde: use pm_runtime_resume_and_get()

2021-04-24 Thread Dmitry Osipenko
24.04.2021 09:44, Mauro Carvalho Chehab пишет: > Commit dd8088d5a896 ("PM: runtime: Add pm_runtime_resume_and_get to deal with > usage counter") > added pm_runtime_resume_and_get() in order to automatically handle > dev->power.usage_count decrement on errors. > > Use the new API, in order to clea