V4L/DVB (13396): correct initialization of audio_mode
authorJulia Lawall <julia@diku.dk>
Sun, 8 Nov 2009 17:49:05 +0000 (14:49 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 5 Dec 2009 20:41:40 +0000 (18:41 -0200)
commitb921d929f4a012be3e809fbb1ff1e8e6c0751c06
tree835ab0d06d1f12f552339091898a68c5bea93343
parentc4c1e295d2721470141843e31a69c4b1c131e0f7
V4L/DVB (13396): correct initialization of audio_mode

This initialization of the value of audio_mode is the one used if nothing
matches in the subsequent switch.  The variable audio_mode is subsequently
assigned to constants such as TUNER_AUDIO_MONO and TUNER_AUDIO_STEREO.
TUNER_AUDIO_STEREO has the same value as V4L2_TUNER_MODE_STEREO, so it
would seem better to use that value here.

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/saa717x.c