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)
committerPhil Elwell <8911409+pelwell@users.noreply.github.com>
Wed, 9 Nov 2022 13:47:16 +0000 (13:47 +0000)
commit0890629167b07797abf628b3fc7b4da3ea677ad3
tree579af08e8ef10bc7486f5f483d560fa44700fe5b
parenta56df85d2f42fd461fdc05f33617141aca5ba465
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