diff options
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/pxa/pxa2xx-i2s.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sound/soc/pxa/pxa2xx-i2s.c b/sound/soc/pxa/pxa2xx-i2s.c index 60145770aeba..fce8a2894e2c 100644 --- a/sound/soc/pxa/pxa2xx-i2s.c +++ b/sound/soc/pxa/pxa2xx-i2s.c | |||
@@ -347,6 +347,19 @@ static int pxa2xx_i2s_probe(struct platform_device *dev) | |||
347 | if (ret != 0) | 347 | if (ret != 0) |
348 | clk_put(clk_i2s); | 348 | clk_put(clk_i2s); |
349 | 349 | ||
350 | /* | ||
351 | * PXA Developer's Manual: | ||
352 | * If SACR0[ENB] is toggled in the middle of a normal operation, | ||
353 | * the SACR0[RST] bit must also be set and cleared to reset all | ||
354 | * I2S controller registers. | ||
355 | */ | ||
356 | SACR0 = SACR0_RST; | ||
357 | SACR0 = 0; | ||
358 | /* Make sure RPL and REC are disabled */ | ||
359 | SACR1 = SACR1_DRPL | SACR1_DREC; | ||
360 | /* Along with FIFO servicing */ | ||
361 | SAIMR &= ~(SAIMR_RFS | SAIMR_TFS); | ||
362 | |||
350 | return ret; | 363 | return ret; |
351 | } | 364 | } |
352 | 365 | ||