OSDN Git Service

media: tvp5150: split reset/enable routine
authorPhilipp Zabel <p.zabel@pengutronix.de>
Thu, 28 Jun 2018 16:20:42 +0000 (12:20 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 17 Sep 2018 17:29:05 +0000 (13:29 -0400)
commit1bb086bc4d4a225f2af8b00e9082f25e6a7efdfa
tree99711c2505293cc79a1c09d75767ae6029eaa542
parent1569586688a0a82713441bade3e831524da38109
media: tvp5150: split reset/enable routine

To trigger standard autodetection only the reset part of the routine
is necessary during probe(). Split this out to make it callable on its own.

[m.felsch@pengutronix.de: adapt commit message]
[m.felsch@pengutronix.de: add tvp5150_enable() to tvp5150_s_stream()]
[m.chehab@samsung.com: fix a compilation breakage]
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/i2c/tvp5150.c