media: adv7180: Nasty hack to allow input selection.
authorDave Stevenson <dave.stevenson@raspberrypi.org>
Wed, 31 Oct 2018 15:00:04 +0000 (15:00 +0000)
committerpopcornmix <popcornmix@gmail.com>
Mon, 13 May 2019 23:08:07 +0000 (00:08 +0100)
commit83fe32724e65bc48aa8bc01322b5b8b5bc8315a2
treea60bfb5f03d2cc0627de1c613f1a1cce5d13e8f6
parent2ccfc01f12b7647ae4b2a6ba50766cb32d19f8e8
media: adv7180: Nasty hack to allow input selection.

Whilst the adv7180 driver support s_routing, nothing else
does, and there is a missing lump of framework code to
define the mapping from connectors on a board to the inputs
they represent on the ADV7180.

Add a nasty hack to take a module parameter that is passed in
to s_routing on any call to G_STD, or S_STD (or subdev
g_input_status call).

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org>
drivers/media/i2c/adv7180.c