android_kernel_xiaomi_sm8350/sound/soc
Janusz Krzysztofik 178b699c25 ASoC: Jack handling enhancements as suggested by subsystem maintainer
The patch adds a few small enhancements to the ASoC jack handling, as
suggested by Mark in his comments to my Amstrad Delta driver, and a few fixes
for related bugs found while learning Mark's code and testing results.

Enhancements:
1. Update status of an ASoC jack while associating it with new gpios.
2. Really update DAPM pins while associating them with an ASoC jack.
3. Export ASoC jack gpios over gpiolib sysfs for diagnostic purposes.

Fixes:
1. Apply mask on jack status report before using it, just for case.
2. While updating jack associated DAPM pins, use full resulting jack status,
   not the status report passed as an argument.

Created and tested on linux-2.6.31-rc3

Signed-off-by: Janusz Krzysztofik <jkrzyszt@tis.icnet.pl>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2009-07-24 11:28:59 +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: Blackfin I2S: fix resume handling 2009-07-14 19:44:52 +01:00
codecs ASoC: MAX9877: fix write operation for register 2009-07-23 11:08:30 +01:00
davinci ASoC: davinci: don't use clock names 2009-07-16 10:59:52 +01:00
fsl ASoC: MPC5200: Increase the delay time between resets 2009-07-22 00:07:51 +01:00
omap ASoC: OMAP: Staticise pcm creation function of omap-pcm 2009-07-23 08:22:16 +01:00
pxa Merge branch 'for-2.6.31' into for-2.6.32 2009-07-01 21:45:47 +01:00
s3c24xx Merge branch 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm 2009-06-14 13:42:43 -07: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 ALSA: Allow passing platform_data to devices attached to AC97 bus 2009-07-23 11:30:56 +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 handling enhancements as suggested by subsystem maintainer 2009-07-24 11:28:59 +01:00