OSDN Git Service

media: tvp5150: add subdev open/close callbacks
authorMarco Felsch <m.felsch@pengutronix.de>
Thu, 12 Mar 2020 10:31:52 +0000 (11:31 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 12 Mar 2020 15:40:51 +0000 (16:40 +0100)
commit9c8e509863287383363e01d7eaae1086b2b411d8
tree56bb9f9c666bc42583f1c7eb5f3703e5d73b07cb
parente953c10300055694c976edfe8c7a71a5bfc5ade7
media: tvp5150: add subdev open/close callbacks

Bring the device into a working state upon a open/close call. Currently
this involves only the interrupt enable/disable process but can be
extended in the future.

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