diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/video/cx88/cx88-tvaudio.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/drivers/media/video/cx88/cx88-tvaudio.c b/drivers/media/video/cx88/cx88-tvaudio.c index 3d3376d590a5..210f9f7ebed4 100644 --- a/drivers/media/video/cx88/cx88-tvaudio.c +++ b/drivers/media/video/cx88/cx88-tvaudio.c | |||
@@ -148,11 +148,14 @@ static void set_audio_finish(struct cx88_core *core, u32 ctl) | |||
148 | 148 | ||
149 | if (cx88_boards[core->board].blackbird) { | 149 | if (cx88_boards[core->board].blackbird) { |
150 | /* sets sound input from external adc */ | 150 | /* sets sound input from external adc */ |
151 | if ((core->board == CX88_BOARD_HAUPPAUGE_ROSLYN)|| | 151 | switch (core->board) { |
152 | (core->board == CX88_BOARD_KWORLD_MCE200_DELUXE)) | 152 | case CX88_BOARD_HAUPPAUGE_ROSLYN: |
153 | case CX88_BOARD_KWORLD_MCE200_DELUXE: | ||
153 | cx_clear(AUD_CTL, EN_I2SIN_ENABLE); | 154 | cx_clear(AUD_CTL, EN_I2SIN_ENABLE); |
154 | else | 155 | break; |
156 | default: | ||
155 | cx_set(AUD_CTL, EN_I2SIN_ENABLE); | 157 | cx_set(AUD_CTL, EN_I2SIN_ENABLE); |
158 | } | ||
156 | 159 | ||
157 | cx_write(AUD_I2SINPUTCNTL, 4); | 160 | cx_write(AUD_I2SINPUTCNTL, 4); |
158 | cx_write(AUD_BAUDRATE, 1); | 161 | cx_write(AUD_BAUDRATE, 1); |