linux/drivers/media/platform/mtk-jpeg
Mauro Carvalho Chehab 97df01fae8 media: mtk-jpeg: use pm_runtime_resume_and_get()
Commit dd8088d5a8 ("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>
2021-05-19 09:51:42 +02:00
..
Makefile media: platform: Add jpeg enc feature 2020-08-28 15:38:39 +02:00
mtk_jpeg_core.c media: mtk-jpeg: use pm_runtime_resume_and_get() 2021-05-19 09:51:42 +02:00
mtk_jpeg_core.h media: mtk-jpeg/mtk_jpeg_core.h: fix kernel-doc warnings 2021-03-22 12:56:51 +01:00
mtk_jpeg_dec_hw.c media: platform: Rename jpeg dec file name 2020-08-28 15:36:36 +02:00
mtk_jpeg_dec_hw.h media: platform: Rename existing functions/defines/variables 2020-08-28 15:37:28 +02:00
mtk_jpeg_dec_parse.c media: platform: Rename jpeg dec file name 2020-08-28 15:36:36 +02:00
mtk_jpeg_dec_parse.h media: platform: Rename jpeg dec file name 2020-08-28 15:36:36 +02:00
mtk_jpeg_dec_reg.h media: platform: Rename jpeg dec file name 2020-08-28 15:36:36 +02:00
mtk_jpeg_enc_hw.c media: platform: Add jpeg enc feature 2020-08-28 15:38:39 +02:00
mtk_jpeg_enc_hw.h media: platform: Add jpeg enc feature 2020-08-28 15:38:39 +02:00