]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit237cacfda07c9202a206fda8a940025e03e85d01
tree99711c2505293cc79a1c09d75767ae6029eaa542
parentf844ab2ffc63f56d8044ade426a5c235671a6339
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