linux/sound/soc
Jarkko Nikula 414c73abfd ASoC: tlv320aic3x: Add support to shared common reset line
This is aimed to configurations where multiple aic3x codecs share the same
reset line and are powered from same supply voltages.

Currently aic3x_probe will fail if trying to request already requested
gpio_reset and passing -1 to another aic3x instances cause that those
instances cannot release reset in aic3x_set_power. That is, another
instances can work only if primary aic3x instance is powered and reset is
released.

Solve this by implementing a list of probed instances that is used for
checking if other instance shares the same gpio_reset number. If a shared
reset line exists, then only first instance tries to request and configure
it and the last instance releases it.

Runtime modifications are not needed since aic3x_regulator_event with help
of regulator framework takes already care that reset is pulled down only
when some or all supplies are disabled meaning that all instances using them
are idle.

Signed-off-by: Jarkko Nikula <jhnikula@gmail.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
2010-11-03 14:18:58 +00:00
..
atmel ASoC: Add simplfied device registration for Atmel SSC devices 2010-08-18 16:53:22 +01:00
au1x ASoC: fix au1x platform 2010-08-31 13:06:31 +01:00
blackfin Merge branch 'for-2.6.36' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound-2.6 into for-2.6.37 2010-08-15 14:56:40 +01:00
codecs ASoC: tlv320aic3x: Add support to shared common reset line 2010-11-03 14:18:58 +00:00
davinci Merge branch 'topic/asoc' into for-linus 2010-10-25 10:00:30 +02:00
ep93xx ASoC: ep93xx: add Simplemachines Sim.One AC97 audio support 2010-10-15 11:54:54 +01:00
fsl ASoC: fsl - fix build error in pcm030-audio-fabric.c 2010-10-26 21:28:56 +02:00
imx ASoC: Remove -dai suffix from i.MX SSI driver 2010-10-01 00:13:28 -07:00
jz4740 ASoC: Multi-component: JZ4740: QI_LB60 board fixes 2010-08-17 12:10:30 +01:00
kirkwood ASoC: kirkwood: Add audio support to hp t5325 thin clients 2010-10-21 13:51:43 -07:00
nuc900 ASoC: remove duplicated include for nuc900 2010-10-05 19:26:00 -07:00
omap Merge branch 'omap-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6 2010-10-25 13:46:56 -07:00
pxa ASoC: fix the building issue of missing codec field in 'struct snd_soc_card' 2010-11-02 09:20:45 -04:00
s3c24xx Merge branch 'topic/asoc' into for-linus 2010-10-25 10:00:30 +02:00
s6000 ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
sh sound: sh: ctrl_in/outX to __raw_read/writeX conversion. 2010-10-27 15:53:50 +09:00
txx9 ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
Kconfig ASoC: Fix sorting of Makefile and Kconfig 2010-07-05 23:35:29 +09:00
Makefile ASoC: Fix sorting of Makefile and Kconfig 2010-07-05 23:35:29 +09:00
soc-cache.c ASoC: soc-cache: Add spi_write support for all I/O types 2010-10-05 09:56:34 -07:00
soc-core.c Merge commit 'v2.6.37-rc1' into for-2.6.37 2010-11-02 09:41:56 -04:00
soc-dapm.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6 2010-10-25 08:32:05 -07:00
soc-jack.c ASoC: Use delayed work for debounce of GPIO based jacks 2010-10-07 12:58:56 -07:00
soc-utils.c ASoC: Add BCLK calculation utility for TDM mode too 2009-11-25 19:55:46 +00:00