linux/drivers/media/platform/vsp1
Mauro Carvalho Chehab 71aeaedc96 media: vsp1: 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.

As a bonus, pm_runtime_resume_and_get() always return 0 on success.
So, the code can be simplified.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2021-05-20 16:02:44 +02:00
..
Makefile
vsp1_brx.c
vsp1_brx.h
vsp1_clu.c
vsp1_clu.h
vsp1_dl.c media: fix incorrect kernel doc usages 2021-03-11 11:59:44 +01:00
vsp1_dl.h
vsp1_drm.c media: v4l: vsp1: Fix uif null pointer access 2021-03-11 11:40:29 +01:00
vsp1_drm.h media: vsp1/vsp1_drm.h: add missing 'struct' kernel-doc keyword 2021-03-22 12:55:08 +01:00
vsp1_drv.c media: vsp1: use pm_runtime_resume_and_get() 2021-05-20 16:02:44 +02:00
vsp1_entity.c
vsp1_entity.h
vsp1_hgo.c
vsp1_hgo.h
vsp1_hgt.c
vsp1_hgt.h
vsp1_histo.c
vsp1_histo.h
vsp1_hsit.c
vsp1_hsit.h
vsp1_lif.c
vsp1_lif.h
vsp1_lut.c
vsp1_lut.h
vsp1_pipe.c
vsp1_pipe.h
vsp1_regs.h
vsp1_rpf.c
vsp1_rwpf.c
vsp1_rwpf.h
vsp1_sru.c
vsp1_sru.h
vsp1_uds.c
vsp1_uds.h
vsp1_uif.c
vsp1_uif.h
vsp1_video.c
vsp1_video.h
vsp1_wpf.c
vsp1.h media: vsp1: Use BIT macro for feature identification 2021-01-12 18:17:43 +01:00