Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 283713
b: refs/heads/master
c: d8c29e7
h: refs/heads/master
i:
  283711: 26573e3
v: v3
  • Loading branch information
Leon Romanovsky authored and Mark Brown committed Nov 11, 2011
1 parent 9c50b35 commit c413ec5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 22 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c42da64293b81463e9d3d1a74254f3425509a29b
refs/heads/master: d8c29e7f78a6c52fc5cfa956c4b72c797a468241
21 changes: 0 additions & 21 deletions trunk/sound/soc/codecs/alc5632.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit c413ec5

Please sign in to comment.