Fix TAS2558 compile issue master
authorTracy Yi <tracy-yi@ti.com>
Tue, 14 May 2019 05:35:49 +0000 (13:35 +0800)
committerTracy Yi <tracy-yi@ti.com>
Tue, 14 May 2019 05:35:49 +0000 (13:35 +0800)
Signed-off-by: Tracy Yi <tracy-yi@ti.com>
tas2562.h

index 587ad9b8b7fe1937fce5bea19cf0543671941bfd..cf21e2c77e0fbe997738d0ced40826eaadbbb8db 100644 (file)
--- a/tas2562.h
+++ b/tas2562.h
 
     /* Playback Configuration Reg0 */
 #define TAS2562_PlaybackConfigurationReg0  TAS2562_REG(0x0, 0x0, 0x03)
-#define TAS2562_PlaybackConfigurationReg0_PDMPinMapping_Mask  (0x1 << 7)
-#define TAS2562_PlaybackConfigurationReg0_PDMPinMapping_Pdm0  (0x0 << 7)
-#define TAS2562_PlaybackConfigurationReg0_PDMPinMapping_Pdm1  (0x1 << 7)
-#define TAS2562_PlaybackConfigurationReg0_PlaybackPDMSource_Mask  (0x1 << 6)
-#define TAS2562_PlaybackConfigurationReg0_PlaybackSource_Mask  (0x1 << 5)
-#define TAS2562_PlaybackConfigurationReg0_PlaybackSource_Pcm  (0x0 << 5)
-#define TAS2562_PlaybackConfigurationReg0_PlaybackSource_Pdm  (0x1 << 5)
-#define TAS2562_PlaybackConfigurationReg0_AmplifierLevel40_Mask  (0x1f << 0)
+#define TAS2562_PlaybackConfigurationReg0_DCBlocker_Mask  (0x1 << 6)
+#define TAS2562_PlaybackConfigurationReg0_DCBlocker_Enabled  (0x0 << 6)
+#define TAS2562_PlaybackConfigurationReg0_DCBlocker_Disabled  (0x1 << 6)
+#define TAS2562_PlaybackConfigurationReg0_AmplifierLevel51_Mask  (0x1f << 1)
 
     /* Misc Configuration Reg0 */
 #define TAS2562_MiscConfigurationReg0  TAS2562_REG(0x0, 0x0, 0x04)