OSDN Git Service

media: tvp5150: move irq en-/disable into runtime-pm ops
authorMarco Felsch <m.felsch@pengutronix.de>
Thu, 12 Mar 2020 10:31:50 +0000 (11:31 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 12 Mar 2020 15:39:21 +0000 (16:39 +0100)
commit73549a69a415394bae136c1b1cfe7a5caf705f98
tree9381182f40295bfd916565d54bcecbb80a65fc6b
parent96ca7c412a2cef7e6407836152f62a539a709470
media: tvp5150: move irq en-/disable into runtime-pm ops

As documented in [1] the runtime-pm ops are used to set the device into
a fully 'workable' state. Therefore it can be used to enable or disable
the irqs.

[1] https://www.kernel.org/doc/html/latest/power/runtime_pm.html

Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/i2c/tvp5150.c