V4L/DVB (6831): Audio routes fix for blackbird boards with the wm8775 ADC
authorRicardo Cerqueira <v4l@cerqueira.org>
Sun, 30 Sep 2007 16:02:49 +0000 (13:02 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 25 Jan 2008 21:03:48 +0000 (19:03 -0200)
commit7b27d45bb50498c86aa87e7ef174b2a0f5b6f361
tree5518bfbfa0320a4529de0ce0265952dd441ccf17
parent4423a9a3395ef652d80d848161444b417f1f78c0
V4L/DVB (6831): Audio routes fix for blackbird boards with the wm8775 ADC

Fix lack of audio on the MPEG-2 stream of wm8775 based blackbirds.

The wm8775 module initializes the audio input at "route 2", which doesn't
hold true for all boards. The HVR-1300, for example, uses route 1 for
tuner audio, and route 2 for baseband. So we must route the audio to the
proper input depending on what video input is being used.

Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/cx88/cx88-cards.c
drivers/media/video/cx88/cx88-video.c
drivers/media/video/cx88/cx88.h