linux-kernel-test/sound/soc
Manuel Lauss cdc65fbe18 ASoC: au1x: PSC-AC97 bugfixes
This patch fixes the following bugs:

- only reprogram bitdepth if it has changed since last call to hw_params.
- add locking inside ac97_read/write functions:
  When reprogramming sample depth, the ac97 unit has to be disabled,
  which should not be done in the middle of codec register accesses.

- retry timed-out codec register accesses.

- wait for status bits to set/clear when starting/stopping various
  functional blocks; very important after reenabling AC97 unit else
  sound may be distorted (e.g. high-pitch noise in 1kHz sine wave).

- clear fifos before/after starting/stopping RX/TX.

- longer timeouts waiting for PSC/AC97 ready after cold reset
  with certain codecs this can take ridiculous amounts of time.

Run-tested on various Au1200 platforms with various codecs.

Signed-off-by: Manuel Lauss <manuel.lauss@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2009-09-08 19:21:27 +01:00
..
atmel ASoC: Configure WM8731 SYSCLK at startup on AT91SAM9G20-EK 2009-07-08 18:41:05 +01:00
au1x ASoC: au1x: PSC-AC97 bugfixes 2009-09-08 19:21:27 +01:00
blackfin ASoC: new board driver to connect bfin-5xx with ad1836 codec 2009-09-01 11:36:13 +01:00
codecs ASoC: Fix WM835x Out4 capture enumeration 2009-09-07 18:56:24 +01:00
davinci ASoC: davinci: i2c device creation moved into board files 2009-08-28 10:33:10 +01:00
fsl ASoC: MPC5200: Support for buffer wrap around 2009-08-05 22:10:14 +01:00
imx ASoC: Staticise unexported variables 2009-08-15 11:36:49 +01:00
omap ASoC: OMAP: Add functionality to set CLKR and FSR sources in McBSP DAI 2009-08-28 18:36:43 +01:00
pxa ASoC: Pass correct platform data from pxa2xx-ac97 2009-08-23 18:18:01 +01:00
s3c24xx ASoC: Fix s3c-i2s-v2 build 2009-08-26 15:27:57 +01:00
s6000 ASoC: tlv320aic3x: fixup board device changes 2009-08-21 10:52:57 +01:00
sh ASoC: Add FSI-AK4642 sound support for SuperH 2009-08-21 11:02:03 +01:00
txx9 ASoC: txx9aclc: dynamically allocate dmaengine devname 2009-06-25 21:06:30 +01:00
Kconfig ASoC: Hook i.MX into build 2009-08-15 11:37:30 +01:00
Makefile Merge branch 'for-2.6.32' into mxc 2009-08-15 11:20:44 +01:00
soc-cache.c ASoC: fix I2C build errors 2009-08-11 10:47:25 +01:00
soc-core.c ASoC: Add DAPM widget power decision debugfs files 2009-08-21 17:17:59 +01:00
soc-dapm.c Merge branch 'topic/digital-mixing' into for-2.6.32 2009-08-24 20:44:41 +01:00
soc-jack.c ASoC: jack: Fix race in snd_soc_jack_add_gpios 2009-07-31 22:38:43 +01:00