android_kernel_xiaomi_sm8350/sound/soc/codecs
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
..
ac97.c ASoC: Use a shared define for AC97 CODEC data formats 2009-05-02 12:32:09 +01:00
ac97.h
ad1938.c ASoC: Fix checkpatch issues and typos of ad1938 codec and bf5xx-tdm dai 2009-07-29 21:31:53 +01:00
ad1938.h ASoC: new ad1938 codec driver based on asoc 2009-07-16 11:14:39 +01:00
ad1980.c ASoC: Use a shared define for AC97 CODEC data formats 2009-05-02 12:32:09 +01:00
ad1980.h
ad73311.c ASoC: Push the codec runtime storage into the card structure 2009-01-27 10:30:54 +00:00
ad73311.h ASoC: Blackfin: fix typo in MUTE definition 2009-03-06 13:37:18 +00:00
ak4104.c ASoC: Merge dai_ops factor out 2009-03-11 16:51:31 +00:00
ak4104.h ASoC: Add a driver for AK4104 S/PDIF transmitter 2009-03-09 10:46:17 +00:00
ak4535.c ASoC: Remove unused AK4535 hardware read functionality 2009-07-05 17:28:41 +01:00
ak4535.h
cs4270.c ALSA: ASoC: cs4270: move power management hooks to snd_soc_codec_device 2009-08-05 22:13:49 +01:00
cs4270.h
cx20442.c ASoC: CX20442: simplify codec controller usage 2009-08-06 11:36:46 +01:00
cx20442.h ASoC: CX20442: push down machine independent line discipline bits 2009-07-31 22:38:44 +01:00
Kconfig ASoC: Add WM8776 CODEC driver 2009-08-06 11:36:45 +01:00
l3.c
Makefile ASoC: Add WM8776 CODEC driver 2009-08-06 11:36:45 +01:00
max9877.c ASoC: MAX9877: fix write operation for register 2009-07-23 11:08:30 +01:00
max9877.h ASoC: MAX9877: add MAX9877 amp driver 2009-07-15 16:59:31 +01:00
pcm3008.c ASoC: Push the codec runtime storage into the card structure 2009-01-27 10:30:54 +00:00
pcm3008.h
spdif_transciever.c ASoC: spdif: set module licence to GPL 2009-07-13 23:01:30 +01:00
spdif_transciever.h ASoC: Add dummy S/PDIF codec support 2009-05-28 14:48:38 +01:00
ssm2602.c ASoC: Revert duplicated code in SSM2602 driver 2009-06-13 19:35:24 +01:00
ssm2602.h
stac9766.c ASoC: Keep index within stac9766_reg[] 2009-07-13 10:32:18 +01:00
stac9766.h ASoC: Codec for STAC9766 used on the Efika 2009-05-24 13:15:21 +01:00
tlv320aic3x.c ASoC: tlv320aic3x: Enable PLL when not bypassed 2009-07-23 08:14:29 +01:00
tlv320aic3x.h ALSA: ASoC: tlv320aic3x add dsp_a 2008-12-20 13:05:38 +00:00
tlv320aic23.c ASoC: codec tlv320aic23 fix bogus divide by 0 message 2009-06-06 09:24:48 +01:00
tlv320aic23.h
tlv320aic26.c ASoC: Replace remaining uses of snd_soc_cnew with snd_soc_add_controls. 2009-03-12 15:43:30 +00:00
tlv320aic26.h
twl4030.c ASoC: TWL4030: Add tristate callbacks for HiFi and Voice 2009-07-03 11:01:05 +01:00
twl4030.h ASoC: TWL4030: Add EXTMUTE to reduce pop-noise effect 2009-07-02 11:06:26 +01:00
uda134x.c ASoC: correct print specifiers for unsigneds 2009-05-28 10:20:26 +01:00
uda134x.h
uda1380.c ASoC: UDA1380: refactor device registration 2009-06-15 21:54:48 +01:00
uda1380.h ASoC: UDA1380: refactor device registration 2009-06-15 21:54:48 +01:00
wm8350.c ASoC: Add suspend and resume callbacks to Wolfson CODEC drivers 2009-06-13 22:30:18 +01:00
wm8350.h ASoC: Include WM8350 register definitions in CODEC header 2009-04-27 20:27:01 +01:00
wm8400.c ASoC: Bodge around GCC 4.4.0 flow analysis bug in GCC 4.4.0 2009-07-17 21:53:49 +01:00
wm8400.h ASoC: Add initial driver for the WM8400 CODEC 2009-03-11 13:49:46 +00:00
wm8510.c ASoC: WM8510 has a single frame clock so needs symmetric rates 2009-07-09 11:28:07 +01:00
wm8510.h
wm8523.c ASoC: Add WM8523 CODEC driver 2009-07-01 18:47:45 +01:00
wm8523.h ASoC: Add WM8523 CODEC driver 2009-07-01 18:47:45 +01:00
wm8580.c ASoC: Regulator support for WM8580 2009-06-17 17:33:01 +01:00
wm8580.h ASoC: Move WM8580 to normal I2C device probe 2009-03-12 15:43:24 +00:00
wm8728.c ASoC: make ops a pointer in 'struct snd_soc_dai' 2009-03-04 22:29:47 +00:00
wm8728.h
wm8731.c ASoC: Limit WM8731 to symmetric rates 2009-07-08 17:48:12 +01:00
wm8731.h ASoC: Refactor WM8731 device registration 2009-02-18 11:55:22 +00:00
wm8750.c ASoC: make ops a pointer in 'struct snd_soc_dai' 2009-03-04 22:29:47 +00:00
wm8750.h
wm8753.c Merge branch 'for-2.6.31' into for-2.6.32 2009-07-06 21:49:35 +01:00
wm8753.h ASoC: Convert WM8753 to register via normal device probe 2009-02-24 23:49:53 +00:00
wm8776.c ASoC: Add WM8776 CODEC driver 2009-08-06 11:36:45 +01:00
wm8776.h ASoC: Add WM8776 CODEC driver 2009-08-06 11:36:45 +01:00
wm8900.c ASoC: Add suspend and resume callbacks to Wolfson CODEC drivers 2009-06-13 22:30:18 +01:00
wm8900.h
wm8903.c Merge branch 'for-2.6.31' into for-2.6.32 2009-06-25 13:58:37 +01:00
wm8903.h ASoC: Convert WM8903 driver to register at I2C probe time 2008-12-10 19:47:44 +00:00
wm8940.c ASoC: Add suspend and resume callbacks to Wolfson CODEC drivers 2009-06-13 22:30:18 +01:00
wm8940.h ASoC WM8940 Driver 2009-04-27 20:37:13 +01:00
wm8960.c ASoC: Fix WM8960 leaks on probe failure 2009-07-05 15:47:03 +01:00
wm8960.h ASoC: Add WM8960 CODEC driver 2009-04-13 15:11:46 +01:00
wm8961.c ASoC: Fix WM8961 suspend function type 2009-06-29 16:34:57 +01:00
wm8961.h ASoC: Add WM8961 driver 2009-06-12 17:16:06 +01:00
wm8971.c ASoC: make ops a pointer in 'struct snd_soc_dai' 2009-03-04 22:29:47 +00:00
wm8971.h
wm8988.c ASoC: Fix leaks in WM8988 registration error handling 2009-07-05 16:29:39 +01:00
wm8988.h ASoC: Add WM8988 CODEC driver 2009-04-07 18:51:23 +01:00
wm8990.c ASoC: correct print specifiers for unsigneds 2009-05-28 10:20:26 +01:00
wm8990.h
wm8993.c ASoC: Fix FLL reference clock division setup in WM8993 2009-07-17 22:13:01 +01:00
wm8993.h ASoC: Add WM8993 CODEC driver 2009-07-08 17:20:20 +01:00
wm9081.c ASoC: Error out if we can't determine a suitable WM9081 sysclk 2009-07-15 11:03:51 +01:00
wm9081.h ASoC: WM9081 mono DAC with integrated 2.6W class AB/D amplifier driver 2009-05-22 15:11:22 +01:00
wm9705.c ASoC: Use a shared define for AC97 CODEC data formats 2009-05-02 12:32:09 +01:00
wm9705.h ASoC: Driver for the WM9705 AC97 codec. 2009-01-16 16:40:25 +00:00
wm9712.c ASoC: Support AC97 link off by default on WM9712 2009-05-14 20:52:46 +01:00
wm9712.h
wm9713.c ASoC: correct print specifiers for unsigneds 2009-05-28 10:20:26 +01:00
wm9713.h