diff options
author | Takashi Iwai <tiwai@suse.de> | 2014-02-27 10:16:15 +0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-02-27 10:16:15 +0400 |
commit | e2755cf9a4b9403373f5d50292e4ac410ab9ce0e (patch) | |
tree | 3371bc76183562dca2b310eead59ccc08ba3041a /sound/soc/codecs/ad1980.c | |
parent | fce0a0c72618e021e29ed4e051ce6b42b218c5e6 (diff) | |
parent | 57374bb491facf716c172126b7e9b99c9e3f8b45 (diff) | |
download | linux-e2755cf9a4b9403373f5d50292e4ac410ab9ce0e.tar.xz |
Merge tag 'asoc-v3.14-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus
ASoC: Fixes for v3.14
A somewhat large set of fixes here due to the identification of some
systematic problems with hard to use APIs in the subsystem. Takashi did
a lot of work to address the enumeration API which uncovered a number of
off by one bugs caused by confusing APIs while Charles addressed issues
in the locking around DAPM.
Diffstat (limited to 'sound/soc/codecs/ad1980.c')
-rw-r--r-- | sound/soc/codecs/ad1980.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/ad1980.c b/sound/soc/codecs/ad1980.c index 7257a8885f42..34d965a4a040 100644 --- a/sound/soc/codecs/ad1980.c +++ b/sound/soc/codecs/ad1980.c @@ -57,8 +57,8 @@ static const u16 ad1980_reg[] = { static const char *ad1980_rec_sel[] = {"Mic", "CD", "NC", "AUX", "Line", "Stereo Mix", "Mono Mix", "Phone"}; -static const struct soc_enum ad1980_cap_src = - SOC_ENUM_DOUBLE(AC97_REC_SEL, 8, 0, 7, ad1980_rec_sel); +static SOC_ENUM_DOUBLE_DECL(ad1980_cap_src, + AC97_REC_SEL, 8, 0, ad1980_rec_sel); static const struct snd_kcontrol_new ad1980_snd_ac97_controls[] = { SOC_DOUBLE("Master Playback Volume", AC97_MASTER, 8, 0, 31, 1), |