[alsa-devel] [PATCH] ASoC: Fix build of DA7210

Mark Brown broonie at opensource.wolfsonmicro.com
Wed Dec 16 21:57:32 CET 2009


From: Mark Brown <broonie at finisterre.wolfsonmicro.main>

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 at opensource.wolfsonmicro.com>
---
 sound/soc/codecs/da7210.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/sound/soc/codecs/da7210.c b/sound/soc/codecs/da7210.c
index 14f5f34..fbf3ab4 100644
--- a/sound/soc/codecs/da7210.c
+++ b/sound/soc/codecs/da7210.c
@@ -81,6 +81,9 @@
 #define DA7210_ADC_L_EN			(1 << 3)
 #define DA7210_ADC_R_EN			(1 << 7)
 
+/* DAC_HPF fields */
+#define DA7210_DAC_VOICE_EN		(1 << 7)
+
 /* DAC_SEL bit fields */
 #define DA7210_DAC_L_SRC_DAI_L		(4 << 0)
 #define DA7210_DAC_L_EN			(1 << 3)
-- 
1.6.5.4



More information about the Alsa-devel mailing list