tmp_suning_uos_patched/sound/soc/codecs
Jarkko Nikula 97c866defc ASoC: Move widgets from DAPM context to snd_soc_card
Decoupling widgets from DAPM context is required when extending the ASoC
core to cross-device paths. Even the list of widgets are now kept in
struct snd_soc_card, the widget listing in sysfs and debugs remain sorted
per device.

This patch makes possible to build cross-device paths but does not extend
yet the DAPM to handle codec bias and widget power changes of an another
device.

Cross-device paths are registered by listing the widgets from device A in
a map for device B. In case of conflicting widget names between the devices,
a uniform name prefix is needed to separate them. See commit ead9b91
"ASoC: Add optional name_prefix for kcontrol, widget and route names" for
help.

An example below shows a path that connects MONO out of A into Line In of B:

static const struct snd_soc_dapm_route mapA[] = {
	{"MONO", NULL, "DAC"},
};

static const struct snd_soc_dapm_route mapB[] = {
	{"Line In", NULL, "MONO"},
};

Signed-off-by: Jarkko Nikula <jhnikula@gmail.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2010-12-15 18:01:01 +00:00
..
88pm860x-codec.c ASoC: Simplify pm860x_probe error handling 2010-11-30 11:35:07 +00:00
88pm860x-codec.h
ac97.c
ad193x.c ASoC: Do not include soc-dapm.h 2010-11-22 14:04:41 +00:00
ad193x.h
ad1836.c ASoC: Do not include soc-dapm.h 2010-11-22 14:04:41 +00:00
ad1836.h
ad1980.c ASoC: Do not include soc-dapm.h 2010-11-22 14:04:41 +00:00
ad1980.h
ad73311.c ASoC: sound/ad73311: add missing __devexit marker 2010-10-27 07:53:17 +02:00
ad73311.h
ads117x.c
ads117x.h
ak4104.c
ak4535.c ASoC: ak4535: Improve readability for setting mute 2010-12-01 11:50:09 +00:00
ak4535.h
ak4642.c ASoC: Decouple DAPM from CODECs 2010-11-06 11:28:29 -04:00
ak4671.c ASoC: Do not include soc-dapm.h 2010-11-22 14:04:41 +00:00
ak4671.h
alc5623.c ASoC: Fix inconsistent meaning of default case while checking alc5623->id 2010-12-03 12:25:24 +00:00
alc5623.h
cq93vc.c ASoC: Do not include soc-dai.h 2010-11-22 14:04:53 +00:00
cs42l51.c ASoC: Do not include soc-dapm.h 2010-11-22 14:04:41 +00:00
cs42l51.h
cs4270.c
cx20442.c ASoC: Move pop time from DAPM context to sound card 2010-11-06 11:28:35 -04:00
cx20442.h
da7210.c ASoC: Decouple DAPM from CODECs 2010-11-06 11:28:29 -04:00
jz4740.c ASoC: Fix compile breakage in jz4740.c and smartq_wm8987.c 2010-11-22 14:04:05 +00:00
Kconfig ASoC: Add initial WM8737 driver 2010-11-24 11:33:12 +00:00
l3.c
Makefile ASoC: Add initial WM8737 driver 2010-11-24 11:33:12 +00:00
max9877.c
max9877.h
max98088.c Merge branch 'for-2.6.37' into for-2.6.38 2010-11-23 14:30:41 +00:00
max98088.h
pcm3008.c
pcm3008.h
spdif_transciever.c
ssm2602.c ASoC: Do not include soc-dapm.h 2010-11-22 14:04:41 +00:00
ssm2602.h
stac9766.c Merge branch 'for-2.6.37' into for-2.6.38 2010-11-22 20:33:12 +00:00
stac9766.h
tlv320aic3x.c ASoC: Move DAPM paths from DAPM context to snd_soc_card 2010-12-15 18:00:41 +00:00
tlv320aic3x.h
tlv320aic23.c ASoC: Do not include soc-dapm.h 2010-11-22 14:04:41 +00:00
tlv320aic23.h
tlv320aic26.c ASoC: Do not include soc-dapm.h 2010-11-22 14:04:41 +00:00
tlv320aic26.h
tlv320dac33.c ASoC: Do not include soc-dapm.h 2010-11-22 14:04:41 +00:00
tlv320dac33.h
tpa6130a2.c Merge branch 'topic/asoc' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6 into for-2.6.38 2010-11-24 11:26:39 +00:00
tpa6130a2.h
twl4030.c Merge branch 'topic/asoc' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6 into for-2.6.38 2010-11-24 11:26:39 +00:00
twl6040.c ASoC: Do not include soc-dapm.h 2010-11-22 14:04:41 +00:00
twl6040.h
uda134x.c ASoC: Do not include soc-dapm.h 2010-11-22 14:04:41 +00:00
uda134x.h
uda1380.c ASoC: Do not include soc-dapm.h 2010-11-22 14:04:41 +00:00
uda1380.h
wl1273.c ASoC: Do not include soc-dai.h 2010-11-22 14:04:53 +00:00
wl1273.h
wm2000.c ASoC: Do not include soc-dapm.h 2010-11-22 14:04:41 +00:00
wm2000.h
wm8350.c ASoC: Fix merge errors with flush_scheduled_work() removal 2010-12-13 12:58:59 +01:00
wm8350.h
wm8400.c ASoC: Do not include soc-dapm.h 2010-11-22 14:04:41 +00:00
wm8400.h
wm8510.c ASoC: Do not include soc-dapm.h 2010-11-22 14:04:41 +00:00
wm8510.h
wm8523.c Merge branch 'for-2.6.37' into for-2.6.38 2010-11-22 20:33:12 +00:00
wm8523.h
wm8580.c Merge branch 'for-2.6.37' into for-2.6.38 2010-12-09 11:29:13 +00:00
wm8580.h
wm8711.c ASoC: Do not include soc-dapm.h 2010-11-22 14:04:41 +00:00
wm8711.h
wm8727.c
wm8728.c ASoC: Do not include soc-dapm.h 2010-11-22 14:04:41 +00:00
wm8728.h
wm8731.c ASoC: Automatically manage WM8731 deemphasis 2010-12-02 12:00:20 +00:00
wm8731.h
wm8737.c ASoC: Remove redundant hw_write initialisation in WM8737 2010-11-26 15:16:19 +00:00
wm8737.h ASoC: Add initial WM8737 driver 2010-11-24 11:33:12 +00:00
wm8741.c ASoC: Do not include soc-dapm.h 2010-11-22 14:04:41 +00:00
wm8741.h
wm8750.c ASoC: Do not include soc-dapm.h 2010-11-22 14:04:41 +00:00
wm8750.h
wm8753.c ASoC: Fix merge errors with flush_scheduled_work() removal 2010-12-13 12:58:59 +01:00
wm8753.h
wm8770.c ASoC: Do not include soc-dapm.h 2010-11-22 14:04:41 +00:00
wm8770.h ASoC: WM8770: Initial driver 2010-11-06 11:35:39 -04:00
wm8776.c ASoC: Do not include soc-dapm.h 2010-11-22 14:04:41 +00:00
wm8776.h
wm8804.c ASoC: Do not include soc-dapm.h 2010-11-22 14:04:41 +00:00
wm8804.h
wm8900.c ASoC: Do not include soc-dapm.h 2010-11-22 14:04:41 +00:00
wm8900.h
wm8903.c ASoC: Automatically manage WM8903 deemphasis rate 2010-12-11 12:43:52 +00:00
wm8903.h
wm8904.c Merge branch 'for-2.6.37' into for-2.6.38 2010-12-09 11:29:13 +00:00
wm8904.h
wm8940.c ASoC: Do not include soc-dapm.h 2010-11-22 14:04:41 +00:00
wm8940.h
wm8955.c Merge branch 'for-2.6.37' into for-2.6.38 2010-12-09 11:29:13 +00:00
wm8955.h
wm8960.c ASoC: Move widgets from DAPM context to snd_soc_card 2010-12-15 18:01:01 +00:00
wm8960.h
wm8961.c Merge branch 'for-2.6.37' into for-2.6.38 2010-11-24 11:57:43 +00:00
wm8961.h
wm8962.c Merge branch 'for-2.6.37' into for-2.6.38 2010-12-08 13:54:33 +00:00
wm8962.h
wm8971.c ASoC: Do not include soc-dapm.h 2010-11-22 14:04:41 +00:00
wm8971.h
wm8974.c ASoC: Do not include soc-dapm.h 2010-11-22 14:04:41 +00:00
wm8974.h
wm8978.c ASoC: Do not include soc-dapm.h 2010-11-22 14:04:41 +00:00
wm8978.h
wm8985.c ASoC: Do not include soc-dapm.h 2010-11-22 14:04:41 +00:00
wm8985.h
wm8988.c ASoC: Do not include soc-dapm.h 2010-11-22 14:04:41 +00:00
wm8988.h
wm8990.c ASoC: Do not include soc-dapm.h 2010-11-22 14:04:41 +00:00
wm8990.h
wm8993.c ASoC: Explicitly clear WM8993 ramp controls on power down 2010-12-14 18:10:39 +00:00
wm8993.h
wm8994-tables.c ASoC: Convert WM8994 to use soc-cache.c cache functions 2010-11-27 10:32:14 +00:00
wm8994.c ASoC: Fix widgets for WM8994/58 AIF2 source control 2010-12-13 11:33:14 +00:00
wm8994.h ASoC: Convert WM8994 to use soc-cache.c cache functions 2010-11-27 10:32:14 +00:00
wm9081.c ASoC: Optimise WM9081 FLL performance 2010-12-10 17:38:21 +00:00
wm9081.h
wm9090.c ASoC: Do not include soc-dapm.h 2010-11-22 14:04:41 +00:00
wm9090.h
wm9705.c ASoC: Do not include soc-dapm.h 2010-11-22 14:04:41 +00:00
wm9705.h
wm9712.c ASoC: Do not include soc-dapm.h 2010-11-22 14:04:41 +00:00
wm9712.h
wm9713.c ASoC: Do not include soc-dapm.h 2010-11-22 14:04:41 +00:00
wm9713.h
wm_hubs.c Merge branch 'for-2.6.37' into for-2.6.38 2010-12-06 14:14:47 +00:00
wm_hubs.h ASoC: Store DC offset correction for wm_hubs devices in class W mode 2010-10-28 11:34:03 -07:00