summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/alc5632.c
diff options
context:
space:
mode:
authorLeon Romanovsky <leon@leon.nu>2011-11-10 21:22:15 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-11-11 08:46:55 +0000
commitd8c29e7f78a6c52fc5cfa956c4b72c797a468241 (patch)
tree93cea6d725f24f8b8cf622fa9d915f982653b216 /sound/soc/codecs/alc5632.c
parentc42da64293b81463e9d3d1a74254f3425509a29b (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>
Diffstat (limited to 'sound/soc/codecs/alc5632.c')
-rw-r--r--sound/soc/codecs/alc5632.c21
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)
return 0;
}
-#define ALC5632_REC_UNMUTE (ALC5632_ADC_REC_MIC2 \
- | ALC5632_ADC_REC_LINE_IN | ALC5632_ADC_REC_AUX \
- | ALC5632_ADC_REC_HP | ALC5632_ADC_REC_SPK \
- | ALC5632_ADC_REC_MONOMIX)
-
-#define ALC5632_MIC_ROUTE (ALC5632_MIC_ROUTE_HP \
- | ALC5632_MIC_ROUTE_SPK \
- | ALC5632_MIC_ROUTE_MONOMIX)
-
-#define ALC5632_PWR_DEFAULT (ALC5632_PWR_ADC_STATUS \
- | ALC5632_PWR_DAC_STATUS \
- | ALC5632_PWR_AMIX_STATUS \
- | ALC5632_PWR_VREF_STATUS)
-
-#define ALC5632_ADC_REC_GAIN_COMP(x) (int)((x - ALC5632_ADC_REC_GAIN_BASE) \
- / ALC5632_ADC_REC_GAIN_STEP)
-
-#define ALC5632_MIC_BOOST_COMP(x) (int)(x / ALC5632_MIC_BOOST_STEP)
-
-#define ALC5632_SPK_OUT_VOL_COMP(x) (int)(x / ALC5632_SPK_OUT_VOL_STEP)
-
static int alc5632_probe(struct snd_soc_codec *codec)
{
struct alc5632_priv *alc5632 = snd_soc_codec_get_drvdata(codec);