media: adv7180: Default to the first valid input
authorDave Stevenson <dave.stevenson@raspberrypi.org>
Wed, 31 Oct 2018 14:57:46 +0000 (14:57 +0000)
committerDom Cobley <popcornmix@gmail.com>
Mon, 21 Mar 2022 16:03:53 +0000 (16:03 +0000)
commitc5f4f19e6bea5bd1e4c00237151e675592747791
tree9e062ef9d42a4339776d6c52e10d524a12fdcbbf
parentea3ba3d670551d67313476a9c95b2265744d10ff
media: adv7180: Default to the first valid input

The hardware default is differential CVBS on AIN1 & 2, which
isn't very useful.

Select the first input that is defined as valid for the
chip variant (typically CVBS_AIN1).

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