V4L/DVB (3378): Fix for lack of analog output on some cx88 boards

- Workaround to fix a known regression at cx88-tvaudio.c
- provide a module parameter workaround to always enable
analog output.

Signed-off-by: Panagiotis Christeas <p_christ@hol.gr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>

authored by Panagiotis Christeas and committed by Mauro Carvalho Chehab 7d83e843 a9cff90e

+7 -1
+7 -1
drivers/media/video/cx88/cx88-tvaudio.c
··· 60 60 module_param(audio_debug, int, 0644); 61 61 MODULE_PARM_DESC(audio_debug, "enable debug messages [audio]"); 62 62 63 + static unsigned int always_analog = 0; 64 + module_param(always_analog,int,0644); 65 + MODULE_PARM_DESC(always_analog,"force analog audio out"); 66 + 67 + 63 68 #define dprintk(fmt, arg...) if (audio_debug) \ 64 69 printk(KERN_DEBUG "%s/0: " fmt, core->name , ## arg) 65 70 ··· 160 155 cx_write(AUD_I2SOUTPUTCNTL, 1); 161 156 cx_write(AUD_I2SCNTL, 0); 162 157 /* cx_write(AUD_APB_IN_RATE_ADJ, 0); */ 163 - } else { 158 + } 159 + if ((always_analog) || (!cx88_boards[core->board].blackbird)) { 164 160 ctl |= EN_DAC_ENABLE; 165 161 cx_write(AUD_CTL, ctl); 166 162 }