diff options
| author | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-05-05 09:45:19 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-05-19 09:51:42 +0200 |
| commit | f6bf35ee3e4d9353c117bcc5cc4616d1ce2d977f (patch) | |
| tree | 2c9a7fd87c3677f1b4951511478c2782380bc8c1 /scripts/objdiff | |
| parent | 09dfb36ce250e76322ac8940c10d75e53a9e48d4 (diff) | |
| download | cachepc-linux-f6bf35ee3e4d9353c117bcc5cc4616d1ce2d977f.tar.gz cachepc-linux-f6bf35ee3e4d9353c117bcc5cc4616d1ce2d977f.zip | |
media: venus: core: use pm_runtime_resume_and_get()
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 cleanup the error check logic.
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
