[alsa-devel] [PATCH] ASoC: tlv320dac33: typo fix in the header

Peter Ujfalusi peter.ujfalusi at nokia.com
Wed Oct 21 08:58:35 CEST 2009


Fix the definition of DAC33_LTM field, the LTM bits in
FIFO_IRQ_MODE_B register are starting at bit 6.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi at nokia.com>
---
 sound/soc/codecs/tlv320dac33.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sound/soc/codecs/tlv320dac33.h b/sound/soc/codecs/tlv320dac33.h
index 0fedd70..eb8ae07 100644
--- a/sound/soc/codecs/tlv320dac33.h
+++ b/sound/soc/codecs/tlv320dac33.h
@@ -186,7 +186,7 @@
 #define DAC33_NSM(x)			(x << 0)
 #define DAC33_PSM(x)			(x << 2)
 #define DAC33_ATM(x)			(x << 4)
-#define DAC33_LTM(x)			(x << 4)
+#define DAC33_LTM(x)			(x << 6)
 
 /* DAC33_DAC_CTRL_A (0x2C) */
 #define DAC33_DACRATE(x)		(x << 0)
-- 
1.6.5.1



More information about the Alsa-devel mailing list