linux/sound/soc/codecs
Lars-Peter Clausen eee5d7f99a ASoC: dapm: Add a helper to get the CODEC for DAPM kcontrol
We use the same 3 lines to get the CODEC for a kcontrol in a quite a few places.
This patch puts them into a common helper function. Having this encapsulated in
a helper function will also make it more easier to eventually change the data
layout of the kcontrol's private data.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
2013-07-29 18:40:59 +01:00
..
88pm860x-codec.c ASoC: More updates for v3.11 2013-06-28 13:36:22 +02:00
88pm860x-codec.h
ab8500-codec.c ASoC: ab8500-codec: Move codec ops on a separate structure 2013-05-25 15:58:33 -04:00
ab8500-codec.h ASoC: ab8500-codec: Set rx dai slots from rx_mask 2013-05-21 11:39:34 -05:00
ac97.c ASoC: ac97: Support multi-platform AC'97 2013-06-27 09:48:42 +01:00
ad193x.c ASoC: codecs: remove __dev* attributes 2012-12-10 00:31:51 +09:00
ad193x.h ASoC: ad193x: Use snd_soc_update_bits where appropriate 2011-11-28 18:57:52 +00:00
ad1836.c ASoC: codecs: remove __dev* attributes 2012-12-10 00:31:51 +09:00
ad1836.h ASoC: Fix wrong define for AD1836_ADC_WORD_OFFSET 2011-11-22 13:06:14 +00:00
ad1980.c ASoC: ac97: Support multi-platform AC'97 2013-06-27 09:48:42 +01:00
ad1980.h
ad73311.c ASoC: codecs: remove __dev* attributes 2012-12-10 00:31:51 +09:00
ad73311.h
adau1373.c ASoC: adau1373: adau1373_hw_params: Silence overflow warning 2013-03-12 18:46:27 +00:00
adau1373.h ASoC: Add ADAU1373 codec support 2011-08-17 00:53:54 +09:00
adau1701.c ASoC: adau1701: remove control_data assignment 2013-06-30 12:42:02 +01:00
adau1701.h ASoC: Add ADAU1701 codec driver 2011-06-16 11:24:17 +01:00
adav80x.c ASoC: codecs: remove __dev* attributes 2012-12-10 00:31:51 +09:00
adav80x.h ASoC: Add ADAV80x codec driver 2011-06-28 17:11:20 +01:00
ads117x.c ASoC: codecs: remove __dev* attributes 2012-12-10 00:31:51 +09:00
ak4104.c ASoC: ak4104: correct tranceiver enable handling 2013-03-07 10:37:38 +08:00
ak4535.c ASoC: codecs: remove __dev* attributes 2012-12-10 00:31:51 +09:00
ak4535.h ASoC: ak4535: Convert to direct regmap API usage 2012-02-16 23:04:45 -08:00
ak4641.c ASoC: codecs: remove __dev* attributes 2012-12-10 00:31:51 +09:00
ak4641.h
ak4642.c ASoC: ak4642: remove __devinitconst annotation 2013-01-14 13:52:21 +09:00
ak4671.c ASoC: codecs: remove __dev* attributes 2012-12-10 00:31:51 +09:00
ak4671.h
ak5386.c ASoC: Add codec driver for AK5386 2013-03-08 19:49:22 +08:00
alc5623.c ASoC: codecs: remove __dev* attributes 2012-12-10 00:31:51 +09:00
alc5623.h
alc5632.c ASoC: codecs: remove __dev* attributes 2012-12-10 00:31:51 +09:00
alc5632.h ASoC: alc5632: Refactored DAPM routes to add voice support 2012-02-11 23:02:47 +00:00
arizona.c ASoC: arizona: Provide simple DAI ops for autoconfiguring interfaces 2013-05-20 11:27:58 -05:00
arizona.h ASoC: arizona: Provide simple DAI ops for autoconfiguring interfaces 2013-05-20 11:27:58 -05:00
bt-sco.c ASoC: dfbmcs320: make the driver common for other BT modules 2013-05-21 13:17:08 -05:00
cq93vc.c ASoC: codecs: remove __dev* attributes 2012-12-10 00:31:51 +09:00
cs42l51.c ASoC: cs42l51: Use module_i2c_driver 2012-08-06 15:20:35 +01:00
cs42l51.h
cs42l52.c ASoC: cs42l52: fix hp_gain_enum shift value. 2013-05-29 19:24:39 +01:00
cs42l52.h ASoC: cs42l52: fix master playback mute mask. 2013-05-22 13:37:07 -05:00
cs42l73.c ASoC: cs42l73: If Internal MCLK is >= 6.4MHz, then set SCLK to 64*Fs. 2013-03-06 12:51:30 +08:00
cs42l73.h ASoC: cs42l73: Unify the way to define bits of register 2011-11-22 13:02:09 +00:00
cs4270.c ASoC: cs4270: Remove mono support 2012-09-25 13:52:42 +01:00
cs4271.c ASoC: cs4271: switch to mute_stream 2013-03-22 11:13:09 +01:00
cx20442.c ASoC: cx20442: add bias control over a platform provided regulator 2012-01-09 11:20:16 +00:00
cx20442.h
da732x_reg.h ASoC: codecs: Add DA732x codec driver 2012-06-11 20:23:55 +08:00
da732x.c ASoC: codecs: remove __dev* attributes 2012-12-10 00:31:51 +09:00
da732x.h ASoC: codecs: Add DA732x codec driver 2012-06-11 20:23:55 +08:00
da7210.c ASoC: codecs: remove __dev* attributes 2012-12-10 00:31:51 +09:00
da7213.c ASoC: da7213: Fix setting dmic_samplephase and dmic_clk_rate 2013-05-09 14:29:04 +01:00
da7213.h ASoC: codecs: Add da7213 codec 2013-02-14 17:27:17 +00:00
da9055.c ASoC: codecs: remove __dev* attributes 2012-12-10 00:31:51 +09:00
dmic.c ASoC: codecs: remove __dev* attributes 2012-12-10 00:31:51 +09:00
hdmi.c ASoC: omap-hdmi-codec: make the driver common for other SoCs 2013-06-05 16:54:55 +01:00
isabelle.c ASoC: isabelle: remove __dev* attributes 2012-12-10 00:30:44 +09:00
isabelle.h ASoC: Support TI Isabelle Audio driver 2012-06-05 10:42:57 +01:00
jz4740.c ASoC: jz4740: Remove redundant platform_set_drvdata() 2013-05-12 20:46:16 +04:00
Kconfig ASoC: codecs: Make ALL_CODECS depend on COMPILE_TEST 2013-07-15 11:09:21 +01:00
l3.c
lm4857.c ASoC: codecs: remove __dev* attributes 2012-12-10 00:31:51 +09:00
lm49453.c ASoC: lm49453: Update lm49453_reg_defs values as per LM49453 HW revision-B 2012-12-24 15:45:10 +00:00
lm49453.h ASoC: Support TI LM49453 Audio driver 2012-04-01 11:35:41 +01:00
Makefile Merge remote-tracking branch 'asoc/topic/ssm2518' into asoc-next 2013-06-17 17:20:29 +01:00
max9768.c ASoC: codecs: remove __dev* attributes 2012-12-10 00:31:51 +09:00
max9850.c ASoC: codecs: remove __dev* attributes 2012-12-10 00:31:51 +09:00
max9850.h
max9877.c ASoC: codecs: remove __dev* attributes 2012-12-10 00:31:51 +09:00
max9877.h
max98088.c ASoC: max98088: Fix logging of hardware revision. 2013-04-17 14:32:25 +01:00
max98088.h
max98090.c Merge remote-tracking branch 'asoc/topic/max98090' into asoc-next 2013-06-17 17:20:23 +01:00
max98090.h ASoC:: max98090: Remove executable bit 2013-03-20 10:54:12 +01:00
max98095.c ASoC: codecs: remove __dev* attributes 2012-12-10 00:31:51 +09:00
max98095.h ASoC: max98095: add jack detection 2012-04-01 11:28:24 +01:00
mc13783.c ASoC: codecs: remove __dev* attributes 2012-12-10 00:31:51 +09:00
mc13783.h ASoC: Add mc13783 codec 2012-05-18 16:42:20 +01:00
ml26124.c ASoC: codecs: remove __dev* attributes 2012-12-10 00:31:51 +09:00
ml26124.h ASoC: Add LAPIS Semiconductor ML26124 driver 2012-04-01 11:28:28 +01:00
pcm3008.c ASoC: codecs: remove __dev* attributes 2012-12-10 00:31:51 +09:00
pcm3008.h
rt5631.c ASoC: codecs: remove __dev* attributes 2012-12-10 00:31:51 +09:00
rt5631.h ASoC: Add driver for rt5631 2011-09-21 15:52:23 +01:00
rt5640.c ASoC: rt5640: fix sparse warnings 2013-06-13 10:26:57 +01:00
rt5640.h ASoC: add RT5640 CODEC driver 2013-06-12 17:46:54 +01:00
sgtl5000.c ASoC: sglt5000: Fix the default value of CHIP_SSS_CTRL 2013-07-05 10:45:42 +01:00
sgtl5000.h ASoC: sglt5000: Fix SGTL5000_PLL_FRAC_DIV_MASK 2013-07-05 10:45:49 +01:00
si476x.c sound/soc/codecs/si476x.c: don't use 0bNNN 2013-07-03 16:07:23 -07:00
sigmadsp.c ASoC: sigmadsp: Fix endianness conversion issue 2012-12-10 12:20:39 +09:00
sigmadsp.h ASoC: SigmaDSP: Add regmap support 2011-11-29 12:01:23 +00:00
sn95031.c ASoC: sn95031: Staticize non exported struct 2013-05-15 08:53:05 +04:00
sn95031.h
spdif_receiver.c ASoC: spdif_receiver: Add DT support. 2013-05-12 20:51:06 +04:00
spdif_transmitter.c ASoC: spdif_transmitter: Add DT support. 2013-05-12 20:51:06 +04:00
ssm2518.c ASoC: ssm2518: Fix trivial typo in checking tx_mask and rx_mask values 2013-06-12 16:20:44 +01:00
ssm2518.h ASoC: Add ssm2518 support 2013-05-25 10:33:30 -04:00
ssm2602.c ASoC: codecs: remove __dev* attributes 2012-12-10 00:31:51 +09:00
ssm2602.h ASoC: ssm2602: Support setting the oscillator and the clock output state 2011-09-27 13:30:48 +01:00
sta32x.c ASoC: codecs: remove __dev* attributes 2012-12-10 00:31:51 +09:00
sta32x.h ASoC: sta32x: preserve coefficient RAM 2011-11-14 21:32:12 +00:00
sta529.c ASoC: sta529: Fix update register bits in sta529_set_dai_fmt 2012-12-20 16:01:26 +00:00
stac9766.c ASoC: ac97: Support multi-platform AC'97 2013-06-27 09:48:42 +01:00
stac9766.h
tas5086.c ASoC: tas5086: fix Mid-Z implementation 2013-06-28 12:15:30 +01:00
tlv320aic3x.c ASoC: dapm: Add a helper to get the CODEC for DAPM kcontrol 2013-07-29 18:40:59 +01:00
tlv320aic3x.h ASoC: tlv320aic3x: Convert mic bias to a supply widget 2013-02-04 18:35:19 +00:00
tlv320aic23.c Linux 3.4-rc7 2012-05-13 13:32:54 +01:00
tlv320aic23.h
tlv320aic26.c ASoC: tlv320aic26: Use module_spi_driver 2012-08-27 09:55:27 -07:00
tlv320aic26.h
tlv320aic32x4.c ASoC: codecs: remove __dev* attributes 2012-12-10 00:31:51 +09:00
tlv320aic32x4.h ASoC: tlv320aic32x4: Fix problem with first capture. 2012-11-01 14:35:56 +00:00
tlv320dac33.c ASoC: tlv320dac33: Remove suspend/resume soc driver operations 2013-01-13 21:34:47 +09:00
tlv320dac33.h
tpa6130a2.c Merge remote-tracking branch 'asoc/topic/tpa6130a2' into asoc-next 2012-12-15 23:56:46 +09:00
tpa6130a2.h
twl4030.c ASoC: twl4030: Remove suspend/resume soc driver operations 2013-01-11 23:54:56 +00:00
twl6040.c ASoC: dapm: Add a helper to get the CODEC for DAPM kcontrol 2013-07-29 18:40:59 +01:00
twl6040.h ASoC: twl6040 - add method to query HS DC offset step size in mV 2012-01-20 13:58:26 +00:00
uda134x.c ASoC: codecs: remove __dev* attributes 2012-12-10 00:31:51 +09:00
uda134x.h
uda1380.c ASoC: codecs: remove __dev* attributes 2012-12-10 00:31:51 +09:00
uda1380.h
wl1273.c ASoC: codecs: remove __dev* attributes 2012-12-10 00:31:51 +09:00
wl1273.h
wm0010.c ASoC: wm0010: Clear IRQ as wake source and include missing header 2013-06-03 16:38:06 +01:00
wm1250-ev1.c ASoC: codecs: remove __dev* attributes 2012-12-10 00:31:51 +09:00
wm2000.c ASoC: wm2000: Expose some more registers for diagnostics 2013-03-29 13:08:03 +00:00
wm2000.h ASoC: wm2000: Expose some more registers for diagnostics 2013-03-29 13:08:03 +00:00
wm2200.c ASoC: wm_adsp: Split ADSP1 and ADSP2 firmware controls 2013-03-29 18:00:24 +00:00
wm2200.h ASoC: wm2200: Add WM2200 CODEC driver 2012-01-26 16:07:55 +00:00
wm5100-tables.c ASoC: codecs: Refresh copyrights for Wolfson drivers 2012-06-03 13:06:37 +01:00
wm5100.c ASoC: wm5100: Implement DRC, EQ and LHPF coefficient configuration 2013-01-20 22:09:40 +09:00
wm5100.h ASoC: Update regmap access for WM5100 DSP control registers 2012-04-23 18:52:31 +01:00
wm5102.c Merge remote-tracking branch 'asoc/topic/arizona' into asoc-next 2013-06-17 17:20:14 +01:00
wm5102.h ASoC: arizona: Add support for directly setting the FLL REFCLK 2013-03-04 11:01:00 +08:00
wm5110.c Merge remote-tracking branch 'asoc/topic/arizona' into asoc-next 2013-06-17 17:20:14 +01:00
wm5110.h ASoC: arizona: Add support for directly setting the FLL REFCLK 2013-03-04 11:01:00 +08:00
wm8350.c Merge remote-tracking branch 'asoc/fix/wm8350' into tmp 2013-03-07 14:29:40 +08:00
wm8350.h
wm8400.c ASoC: wm8400: Use SOC_SINGLE_EXT_TLV() instead of open-coding it 2013-06-19 19:47:31 +01:00
wm8400.h
wm8510.c ASoC: codecs: remove __dev* attributes 2012-12-10 00:31:51 +09:00
wm8510.h
wm8523.c ASoC: codecs: remove __dev* attributes 2012-12-10 00:31:51 +09:00
wm8523.h
wm8580.c ASoC: wm8580: Move regulator acquisition to I2C probe 2012-09-12 14:09:18 +08:00
wm8580.h
wm8711.c ASoC: codecs: remove __dev* attributes 2012-12-10 00:31:51 +09:00
wm8711.h
wm8727.c ASoC: codecs: remove __dev* attributes 2012-12-10 00:31:51 +09:00
wm8728.c ASoC: codecs: remove __dev* attributes 2012-12-10 00:31:51 +09:00
wm8728.h
wm8731.c ASoC: codecs: remove __dev* attributes 2012-12-10 00:31:51 +09:00
wm8731.h
wm8737.c ASoC: codecs: remove __dev* attributes 2012-12-10 00:31:51 +09:00
wm8737.h
wm8741.c ASoC: codecs: remove __dev* attributes 2012-12-10 00:31:51 +09:00
wm8741.h
wm8750.c ASoC: codecs: remove __dev* attributes 2012-12-10 00:31:51 +09:00
wm8750.h
wm8753.c ASoC: codecs: remove __dev* attributes 2012-12-10 00:31:51 +09:00
wm8753.h
wm8770.c ASoC: codecs: remove __dev* attributes 2012-12-10 00:31:51 +09:00
wm8770.h
wm8776.c ASoC: codecs: remove __dev* attributes 2012-12-10 00:31:51 +09:00
wm8776.h
wm8782.c ASoC: codecs: remove __dev* attributes 2012-12-10 00:31:51 +09:00
wm8804.c ASoC: wm8804: Remove redundant check 2012-12-24 15:54:27 +00:00
wm8804.h
wm8900.c ASoC: codecs: remove __dev* attributes 2012-12-10 00:31:51 +09:00
wm8900.h
wm8903.c ASoC: dapm: Add a helper to get the CODEC for DAPM kcontrol 2013-07-29 18:40:59 +01:00
wm8903.h
wm8904.c ASoC: wm8904: Use SOC_SINGLE_EXT() instead of open-coding it 2013-06-19 19:47:36 +01:00
wm8904.h ASoC: Optimise performance of WM8904 ADC 128fs OSR mode 2012-01-20 13:58:26 +00:00
wm8940.c ASoC: codecs: remove __dev* attributes 2012-12-10 00:31:51 +09:00
wm8940.h
wm8955.c ASoC: codecs: remove __dev* attributes 2012-12-10 00:31:51 +09:00
wm8955.h
wm8958-dsp2.c ASoC: wm8994: Use pdata cached in MFD driver 2012-11-24 00:15:08 +09:00
wm8960.c Merge remote-tracking branch 'asoc/topic/wm8960' into asoc-next 2013-04-12 13:57:29 +01:00
wm8960.h
wm8961.c ASoC: codecs: remove __dev* attributes 2012-12-10 00:31:51 +09:00
wm8961.h
wm8962.c ASoC: wm8962: fix NULL pdata pointer 2013-07-04 16:49:51 +01:00
wm8962.h
wm8971.c ASoC: codecs: remove __dev* attributes 2012-12-10 00:31:51 +09:00
wm8971.h
wm8974.c treewide: Fix typo in printks 2013-04-12 15:21:36 +02:00
wm8974.h
wm8978.c ASoC: wm8978: enable symmetric rates 2013-07-12 09:44:56 +01:00
wm8978.h ASoC: Convert wm8978 to direct regmap API usage 2012-01-20 13:58:19 +00:00
wm8983.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2013-02-21 17:40:58 -08:00
wm8983.h ASoC: WM8983: Initial driver 2011-07-15 23:39:53 +09:00
wm8985.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2013-02-21 17:40:58 -08:00
wm8985.h
wm8988.c ASoC: codecs: remove __dev* attributes 2012-12-10 00:31:51 +09:00
wm8988.h
wm8990.c ASoC: wm8990: Use SOC_SINGLE_EXT_TLV() instead of open-coding it 2013-06-19 19:47:37 +01:00
wm8990.h
wm8991.c ASoC: codecs: remove __dev* attributes 2012-12-10 00:31:51 +09:00
wm8991.h ASoC: wm8991: Use SOC_SINGLE_EXT_TLV() instead of open-coding it 2013-06-19 19:47:39 +01:00
wm8993.c ASoC: codecs: remove __dev* attributes 2012-12-10 00:31:51 +09:00
wm8993.h ASoC: wm_hubs: Clamp inputs to VMID while we ramp 2012-02-11 23:11:21 +00:00
wm8994.c ASoC: dapm: Add a helper to get the CODEC for DAPM kcontrol 2013-07-29 18:40:59 +01:00
wm8994.h ASoC: wm8994: Allow debounce before MICDET identification 2013-06-01 19:28:58 +01:00
wm8995.c ASoC: dapm: Add a helper to get the CODEC for DAPM kcontrol 2013-07-29 18:40:59 +01:00
wm8995.h ASoC: wm8995: Use SOC_SINGLE_EXT() instead of open-coding it 2013-06-19 19:47:42 +01:00
wm8996.c ASoC: codecs: remove __dev* attributes 2012-12-10 00:31:51 +09:00
wm8996.h ASoC: Disable register synchronisation for low frequency WM8996 SYSCLK 2012-01-20 13:54:34 +00:00
wm9081.c ASoC: codecs: remove __dev* attributes 2012-12-10 00:31:51 +09:00
wm9081.h
wm9090.c ASoC: codecs: remove __dev* attributes 2012-12-10 00:31:51 +09:00
wm9090.h
wm9705.c ASoC: ac97: Support multi-platform AC'97 2013-06-27 09:48:42 +01:00
wm9705.h
wm9712.c ASoC: ac97: Support multi-platform AC'97 2013-06-27 09:48:42 +01:00
wm9712.h
wm9713.c ASoC: ac97: Support multi-platform AC'97 2013-06-27 09:48:42 +01:00
wm9713.h
wm_adsp.c Merge remote-tracking branch 'asoc/topic/adsp' into asoc-next 2013-06-17 17:20:14 +01:00
wm_adsp.h Merge remote-tracking branch 'asoc/topic/ext' into asoc-next 2013-06-30 12:42:24 +01:00
wm_hubs.c ASoC: dapm: Add a helper to get the CODEC for DAPM kcontrol 2013-07-29 18:40:59 +01:00
wm_hubs.h ASoC: wm_hubs: Allow configuration of MICBIAS power up delay via pdata 2012-08-22 19:00:37 +01:00
wmfw.h ASoC: wm_adsp: Implement support for coefficeint file format 1 2013-01-18 15:02:17 +09:00