fixed a wrong bit field
authorShenghao Ding <a0487134@ti.com>
Sat, 15 Feb 2020 11:19:19 +0000 (05:19 -0600)
committerShenghao Ding <a0487134@ti.com>
Sat, 15 Feb 2020 11:19:19 +0000 (05:19 -0600)
tas2563.h

index 8111d66ae004b8f2a2b25dcf784d8d047ef300fc..6492e73a1185179566ff9365c526af257b87e7ef 100644 (file)
--- a/tas2563.h
+++ b/tas2563.h
@@ -1,4 +1,3 @@
-
 #ifndef __TAS2563_
 #define __TAS2563_
 
@@ -94,7 +93,7 @@ struct TYCRC {
 #define TAS2563_PlaybackConfigurationReg0_PlaybackSource_Mask  (0x1 << 5)
 #define TAS2563_PlaybackConfigurationReg0_PlaybackSource_Pcm  (0x0 << 5)
 #define TAS2563_PlaybackConfigurationReg0_PlaybackSource_Pdm  (0x1 << 5)
-#define TAS2563_PlaybackConfigurationReg0_AmplifierLevel40_Mask  (0x1f << 0)
+#define TAS2563_PlaybackConfigurationReg0_AmplifierLevel40_Mask  (0x1f << 1)
 
     /* Misc Configuration Reg0 */
 #define TAS2563_MiscConfigurationReg0  TAS2563_REG(0x0, 0x0, 0x04)