Browse Source

ASoC: Fix build of DA7210

DAC_VOICE_EN was not defined - looks to have been overly enthusiastically
deleted from a previous revision of the patch, pull the value from v1.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Mark Brown 15 years ago
parent
commit
c215143384
1 changed files with 3 additions and 0 deletions
  1. 3 0
      sound/soc/codecs/da7210.c

+ 3 - 0
sound/soc/codecs/da7210.c

@@ -81,6 +81,9 @@
 #define DA7210_ADC_L_EN			(1 << 3)
 #define DA7210_ADC_L_EN			(1 << 3)
 #define DA7210_ADC_R_EN			(1 << 7)
 #define DA7210_ADC_R_EN			(1 << 7)
 
 
+/* DAC_HPF fields */
+#define DA7210_DAC_VOICE_EN		(1 << 7)
+
 /* DAC_SEL bit fields */
 /* DAC_SEL bit fields */
 #define DA7210_DAC_L_SRC_DAI_L		(4 << 0)
 #define DA7210_DAC_L_SRC_DAI_L		(4 << 0)
 #define DA7210_DAC_L_EN			(1 << 3)
 #define DA7210_DAC_L_EN			(1 << 3)