diff options
author | Leon Romanovsky <leon@leon.nu> | 2011-11-10 14:22:15 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-11-11 03:46:55 -0500 |
commit | d8c29e7f78a6c52fc5cfa956c4b72c797a468241 (patch) | |
tree | 93cea6d725f24f8b8cf622fa9d915f982653b216 | |
parent | c42da64293b81463e9d3d1a74254f3425509a29b (diff) |
ASoC: Remove unused defines in alc5632 codec
Signed-off-by: Leon Romanovsky <leon@leon.nu>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
-rw-r--r-- | sound/soc/codecs/alc5632.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/sound/soc/codecs/alc5632.c b/sound/soc/codecs/alc5632.c index ee6a497b5e71..048c60e4cbac 100644 --- a/sound/soc/codecs/alc5632.c +++ b/sound/soc/codecs/alc5632.c | |||
@@ -964,27 +964,6 @@ static int alc5632_resume(struct snd_soc_codec *codec) | |||
964 | return 0; | 964 | return 0; |
965 | } | 965 | } |
966 | 966 | ||
967 | #define ALC5632_REC_UNMUTE (ALC5632_ADC_REC_MIC2 \ | ||
968 | | ALC5632_ADC_REC_LINE_IN | ALC5632_ADC_REC_AUX \ | ||
969 | | ALC5632_ADC_REC_HP | ALC5632_ADC_REC_SPK \ | ||
970 | | ALC5632_ADC_REC_MONOMIX) | ||
971 | |||
972 | #define ALC5632_MIC_ROUTE (ALC5632_MIC_ROUTE_HP \ | ||
973 | | ALC5632_MIC_ROUTE_SPK \ | ||
974 | | ALC5632_MIC_ROUTE_MONOMIX) | ||
975 | |||
976 | #define ALC5632_PWR_DEFAULT (ALC5632_PWR_ADC_STATUS \ | ||
977 | | ALC5632_PWR_DAC_STATUS \ | ||
978 | | ALC5632_PWR_AMIX_STATUS \ | ||
979 | | ALC5632_PWR_VREF_STATUS) | ||
980 | |||
981 | #define ALC5632_ADC_REC_GAIN_COMP(x) (int)((x - ALC5632_ADC_REC_GAIN_BASE) \ | ||
982 | / ALC5632_ADC_REC_GAIN_STEP) | ||
983 | |||
984 | #define ALC5632_MIC_BOOST_COMP(x) (int)(x / ALC5632_MIC_BOOST_STEP) | ||
985 | |||
986 | #define ALC5632_SPK_OUT_VOL_COMP(x) (int)(x / ALC5632_SPK_OUT_VOL_STEP) | ||
987 | |||
988 | static int alc5632_probe(struct snd_soc_codec *codec) | 967 | static int alc5632_probe(struct snd_soc_codec *codec) |
989 | { | 968 | { |
990 | struct alc5632_priv *alc5632 = snd_soc_codec_get_drvdata(codec); | 969 | struct alc5632_priv *alc5632 = snd_soc_codec_get_drvdata(codec); |