diff options
author | Dimitris Papastamos <dp@opensource.wolfsonmicro.com> | 2013-07-29 08:51:59 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-07-29 10:39:11 -0400 |
commit | 81ad93ecfda64cb37129d29adb384affd0d0fa5b (patch) | |
tree | 7c560ec6c39ca529f99320e6fab838f8edc8e06c /sound/soc/codecs/wm_adsp.h | |
parent | 4fefd69853a4e83040ddaa98d3b6e5e12cc4f97a (diff) |
ASoC: wm_adsp: Simplify kcontrol handling
Get rid off the wm_coeff struct and the wm_coeff_add_kcontrol()
function. We are now using the snd_soc_card_kcontrol() function to
get the kcontrol pointers. No need to call into ALSA code to
register the kcontrols.
Signed-off-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/codecs/wm_adsp.h')
-rw-r--r-- | sound/soc/codecs/wm_adsp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm_adsp.h b/sound/soc/codecs/wm_adsp.h index 9f922c82536c..64087fb1cdec 100644 --- a/sound/soc/codecs/wm_adsp.h +++ b/sound/soc/codecs/wm_adsp.h | |||
@@ -57,7 +57,7 @@ struct wm_adsp { | |||
57 | 57 | ||
58 | struct regulator *dvfs; | 58 | struct regulator *dvfs; |
59 | 59 | ||
60 | struct wm_coeff *wm_coeff; | 60 | struct list_head ctl_list; |
61 | }; | 61 | }; |
62 | 62 | ||
63 | #define WM_ADSP1(wname, num) \ | 63 | #define WM_ADSP1(wname, num) \ |