diff options
author | Axel Lin <axel.lin@gmail.com> | 2011-12-14 22:57:57 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-12-19 19:58:08 -0500 |
commit | 6048ef768e7bec7e1e17f48fe8d5360021928b4a (patch) | |
tree | d77018de93322906225900e90de7854107cd7aaa /sound/soc/codecs/alc5623.c | |
parent | 0a1fe66698a641fdaf92a130131981f2c19d8f6b (diff) |
ASoC: Rename rt562[1|2]_vol_snd_controls to alc562[1|2]_vol_snd_controls
The module desciption says this is ASoC alc5621/2/3 driver.
Make the naming consistent with the reset of the code.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/alc5623.c')
-rw-r--r-- | sound/soc/codecs/alc5623.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sound/soc/codecs/alc5623.c b/sound/soc/codecs/alc5623.c index da97f024ec74..6a9b621ef32d 100644 --- a/sound/soc/codecs/alc5623.c +++ b/sound/soc/codecs/alc5623.c | |||
@@ -99,7 +99,7 @@ static const unsigned int boost_tlv[] = { | |||
99 | }; | 99 | }; |
100 | static const DECLARE_TLV_DB_SCALE(dig_tlv, 0, 600, 0); | 100 | static const DECLARE_TLV_DB_SCALE(dig_tlv, 0, 600, 0); |
101 | 101 | ||
102 | static const struct snd_kcontrol_new rt5621_vol_snd_controls[] = { | 102 | static const struct snd_kcontrol_new alc5621_vol_snd_controls[] = { |
103 | SOC_DOUBLE_TLV("Speaker Playback Volume", | 103 | SOC_DOUBLE_TLV("Speaker Playback Volume", |
104 | ALC5623_SPK_OUT_VOL, 8, 0, 31, 1, hp_tlv), | 104 | ALC5623_SPK_OUT_VOL, 8, 0, 31, 1, hp_tlv), |
105 | SOC_DOUBLE("Speaker Playback Switch", | 105 | SOC_DOUBLE("Speaker Playback Switch", |
@@ -110,7 +110,7 @@ static const struct snd_kcontrol_new rt5621_vol_snd_controls[] = { | |||
110 | ALC5623_HP_OUT_VOL, 15, 7, 1, 1), | 110 | ALC5623_HP_OUT_VOL, 15, 7, 1, 1), |
111 | }; | 111 | }; |
112 | 112 | ||
113 | static const struct snd_kcontrol_new rt5622_vol_snd_controls[] = { | 113 | static const struct snd_kcontrol_new alc5622_vol_snd_controls[] = { |
114 | SOC_DOUBLE_TLV("Speaker Playback Volume", | 114 | SOC_DOUBLE_TLV("Speaker Playback Volume", |
115 | ALC5623_SPK_OUT_VOL, 8, 0, 31, 1, hp_tlv), | 115 | ALC5623_SPK_OUT_VOL, 8, 0, 31, 1, hp_tlv), |
116 | SOC_DOUBLE("Speaker Playback Switch", | 116 | SOC_DOUBLE("Speaker Playback Switch", |
@@ -925,12 +925,12 @@ static int alc5623_probe(struct snd_soc_codec *codec) | |||
925 | 925 | ||
926 | switch (alc5623->id) { | 926 | switch (alc5623->id) { |
927 | case 0x21: | 927 | case 0x21: |
928 | snd_soc_add_controls(codec, rt5621_vol_snd_controls, | 928 | snd_soc_add_controls(codec, alc5621_vol_snd_controls, |
929 | ARRAY_SIZE(rt5621_vol_snd_controls)); | 929 | ARRAY_SIZE(alc5621_vol_snd_controls)); |
930 | break; | 930 | break; |
931 | case 0x22: | 931 | case 0x22: |
932 | snd_soc_add_controls(codec, rt5622_vol_snd_controls, | 932 | snd_soc_add_controls(codec, alc5622_vol_snd_controls, |
933 | ARRAY_SIZE(rt5622_vol_snd_controls)); | 933 | ARRAY_SIZE(alc5622_vol_snd_controls)); |
934 | break; | 934 | break; |
935 | case 0x23: | 935 | case 0x23: |
936 | snd_soc_add_controls(codec, alc5623_vol_snd_controls, | 936 | snd_soc_add_controls(codec, alc5623_vol_snd_controls, |