fix typo error
authora0220410 <peter-li@ti.com>
Sat, 26 Nov 2016 09:39:01 +0000 (17:39 +0800)
committera0220410 <peter-li@ti.com>
Sat, 26 Nov 2016 09:39:01 +0000 (17:39 +0800)
tas2557-core.c
tas2557.h

index 22cee3083b8a6b4ab92066025bf1677c3316b317..3899973fb47ee33a0fda99514dd8c1d902a468a7 100755 (executable)
@@ -76,9 +76,9 @@ static void tas2557_load_configuration(struct tas2557_priv *pTAS2557,
 #define TAS2557_BLOCK_CFG_CAL_A                        0x10
 #define TAS2557_BLOCK_CFG_CAL_B                        0x20
 
-static unsigned int p_tas2557_dr_boost_data[] = {
-       TAS2557_DRBOOST_CTL_REG, 0x08,  //enable, 0x0c=disable
-       TAS2557_DRBOOST_CFG_REG, 0x03,  //threshold -18dB +hysteresis 4dB
+static unsigned int p_tas2557_dboost_data[] = {
+       TAS2557_DBOOST_CTL_REG, 0x08,   //enable, 0x0c=disable
+       TAS2557_DBOOST_CFG_REG, 0x03,   //threshold -18dB +hysteresis 4dB
        0xFFFFFFFF, 0xFFFFFFFF
 };
 
@@ -284,7 +284,7 @@ int tas2557_load_default(struct tas2557_priv *pTAS2557)
 {
        int ret = 0;
        
-       ret = tas2557_dev_load_blk_data(pTAS2557, p_tas2557_dr_boost_data);
+       ret = tas2557_dev_load_blk_data(pTAS2557, p_tas2557_dboost_data);
        if(ret < 0) goto err;
        
        /* This is not required for PG1.0 and 2.1, only PG2.0*/
index a25d3ac885a776c83b4ab1f8de816a4cff911491..4c11bba4a4f4936ba0fa3a3dfb85f541e7d3affa 100755 (executable)
--- a/tas2557.h
+++ b/tas2557.h
@@ -55,7 +55,7 @@
 #define TAS2557_MUTE_REG                               TAS2557_REG(0, 0, 7)
 #define TAS2557_SNS_CTRL_REG                   TAS2557_REG(0, 0, 8)
 #define TAS2557_ADC_INPUT_SEL_REG              TAS2557_REG(0, 0, 9)
-#define TAS2557_DRBOOST_CTL_REG                        TAS2557_REG(0, 0, 10)
+#define TAS2557_DBOOST_CTL_REG                 TAS2557_REG(0, 0, 10)
 #define TAS2557_NONAME11_REG                   TAS2557_REG(0, 0, 11)
 #define TAS2557_NONAME12_REG                   TAS2557_REG(0, 0, 12)
 #define TAS2557_NONAME13_REG                   TAS2557_REG(0, 0, 13)
@@ -72,7 +72,7 @@
 #define TAS2557_DSP_MODE_SELECT_REG            TAS2557_REG(0, 0, 34)
 #define TAS2557_NONAME42_REG                   TAS2557_REG(0, 0, 42)
 #define TAS2557_CLK_ERR_CTRL                   TAS2557_REG(0, 0, 44)
-#define TAS2557_DRBOOST_CFG_REG                        TAS2557_REG(0, 0, 52)
+#define TAS2557_DBOOST_CFG_REG                 TAS2557_REG(0, 0, 52)
 #define TAS2557_POWER_UP_FLAG_REG              TAS2557_REG(0, 0, 100)
 #define TAS2557_FLAGS_1                                TAS2557_REG(0, 0, 104)
 #define TAS2557_FLAGS_2                                TAS2557_REG(0, 0, 108)