diff options
Diffstat (limited to 'drivers/media/video/cx88/cx88-tvaudio.c')
-rw-r--r-- | drivers/media/video/cx88/cx88-tvaudio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/cx88/cx88-tvaudio.c b/drivers/media/video/cx88/cx88-tvaudio.c index 1cc2d286a1cb..99e120483ecd 100644 --- a/drivers/media/video/cx88/cx88-tvaudio.c +++ b/drivers/media/video/cx88/cx88-tvaudio.c | |||
@@ -140,7 +140,7 @@ static void set_audio_finish(struct cx88_core *core, u32 ctl) | |||
140 | cx_write(AUD_RATE_THRES_DMD, 0x000000C0); | 140 | cx_write(AUD_RATE_THRES_DMD, 0x000000C0); |
141 | cx88_start_audio_dma(core); | 141 | cx88_start_audio_dma(core); |
142 | 142 | ||
143 | if (cx88_boards[core->board].mpeg & CX88_MPEG_BLACKBIRD) { | 143 | if (core->board.mpeg & CX88_MPEG_BLACKBIRD) { |
144 | cx_write(AUD_I2SINPUTCNTL, 4); | 144 | cx_write(AUD_I2SINPUTCNTL, 4); |
145 | cx_write(AUD_BAUDRATE, 1); | 145 | cx_write(AUD_BAUDRATE, 1); |
146 | /* 'pass-thru mode': this enables the i2s output to the mpeg encoder */ | 146 | /* 'pass-thru mode': this enables the i2s output to the mpeg encoder */ |
@@ -149,7 +149,7 @@ static void set_audio_finish(struct cx88_core *core, u32 ctl) | |||
149 | cx_write(AUD_I2SCNTL, 0); | 149 | cx_write(AUD_I2SCNTL, 0); |
150 | /* cx_write(AUD_APB_IN_RATE_ADJ, 0); */ | 150 | /* cx_write(AUD_APB_IN_RATE_ADJ, 0); */ |
151 | } | 151 | } |
152 | if ((always_analog) || (!(cx88_boards[core->board].mpeg & CX88_MPEG_BLACKBIRD))) { | 152 | if ((always_analog) || (!(core->board.mpeg & CX88_MPEG_BLACKBIRD))) { |
153 | ctl |= EN_DAC_ENABLE; | 153 | ctl |= EN_DAC_ENABLE; |
154 | cx_write(AUD_CTL, ctl); | 154 | cx_write(AUD_CTL, ctl); |
155 | } | 155 | } |