linux-stable/sound/soc
Janusz Krzysztofik 9029bb316b ASoC: CX20442: simplify codec controller usage
This patch is a workaround for the problem of several subsequent control
statements not being applied correctly to the codec controller (modem).

In order to follow the hook switch state change from handset to handsfree
while
in full duplex mode, two consecutive +VLS control commands were sent to the
modem. The first one was M1 (microphone only), the seconds one was M1S1 (both
microphone and speaker). As there was no real modem handshaking procedure
implemented, neither in the codec nor in the machine driver part of the line
discipline, the modem was having the second command missed.

Since a possibility to switch to microphone only mode (and speaker only mode
as well) seams of no value, I have modified the code to issue single M1S1
command only for any of those cases.

Tested on my Amstrad Delta.

Signed-off-by: Janusz Krzysztofik <jkrzyszt@tis.icnet.pl>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2009-08-06 11:36:46 +01:00
..
atmel ASoC: Configure WM8731 SYSCLK at startup on AT91SAM9G20-EK 2009-07-08 18:41:05 +01:00
au1x ALSA: Add missing SNDRV_PCM_INFO_BATCH flag to some drivers 2009-04-28 15:06:44 +02:00
blackfin ASoC: Fix checkpatch issues and typos of ad1938 codec and bf5xx-tdm dai 2009-07-29 21:31:53 +01:00
codecs ASoC: CX20442: simplify codec controller usage 2009-08-06 11:36:46 +01:00
davinci ASoC: davinci: don't use clock names 2009-07-16 10:59:52 +01:00
fsl ASoC: MPC5200: Support for buffer wrap around 2009-08-05 22:10:14 +01:00
omap ASoC: add support for Amstrad E3 (Delta) machine 2009-07-31 22:38:44 +01:00
pxa ASoC: Switch palm27x-asoc to jack detection api 2009-07-24 11:29:03 +01:00
s3c24xx ASoC: Existing S3C24xx AC97 drivers should depend on S3C24xx 2009-08-05 17:15:04 +01:00
s6000 ASoC: correct s6000 I2S clock polarity 2009-04-06 11:18:39 +01:00
sh ASoC: correct print specifiers for unsigneds 2009-05-28 10:20:26 +01:00
txx9 ASoC: txx9aclc: dynamically allocate dmaengine devname 2009-06-25 21:06:30 +01:00
Kconfig ASoC: Add TXx9 AC link controller driver (v3) 2009-05-19 19:54:28 +01:00
Makefile ASoC: Add TXx9 AC link controller driver (v3) 2009-05-19 19:54:28 +01:00
soc-core.c ASoC: Allow CODECs to flag invalid registers 2009-07-31 18:54:48 +01:00
soc-dapm.c ASoC: fix checking for external widgets bug 2009-07-13 23:01:29 +01:00
soc-jack.c ASoC: jack: Fix race in snd_soc_jack_add_gpios 2009-07-31 22:38:43 +01:00