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)
committerpopcornmix <popcornmix@gmail.com>
Wed, 27 Jan 2021 19:12:57 +0000 (19:12 +0000)
commitef14d1f0e464c076eeb8d998ad6a39982d191ec9
treebf2211d02c732419c5d4da779498bee16eb9b386
parentaac2b3103bc069782c4dcaf9e0640c45c5b33903
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