]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - tas2557sw-android/tas2557-stereo-driver.git/commitdiff
disable clock error detection
authorPeter Li <peter-li@ti.com>
Wed, 22 Feb 2017 15:50:46 +0000 (23:50 +0800)
committerPeter Li <peter-li@ti.com>
Wed, 22 Feb 2017 15:50:46 +0000 (23:50 +0800)
tas2557-core.c
tas2557.h

index 707fec56dc2ddcb9ae0e75e390050dbd5039ae9f..7e605c8d6e6bb831e3300c3bd49c42fd3f11fed0 100755 (executable)
@@ -84,7 +84,7 @@ static unsigned int p_tas2557_irq_config[] = {
 };
 
 static unsigned int p_tas2557_startup_data[] = {
-       channel_both, TAS2557_CLK_ERR_CTRL, 0x03,        /* enable clock error detection */
+       channel_both, TAS2557_CLK_ERR_CTRL, 0x00,        /* enable clock error detection */
        channel_both, TAS2557_POWER_CTRL2_REG, 0xA0,     /* Class-D, Boost power up */
        channel_both, TAS2557_POWER_CTRL2_REG, 0xA3,     /* Class-D, Boost, IV sense power up */
        channel_both, TAS2557_POWER_CTRL1_REG, 0xF8,     /* PLL, DSP, clock dividers power up */
index 78f77d076ac731bc6088857a9cc7c622bde2a6dd..486f1649c20f6dc8eccae48e3ee198b055f8645a 100755 (executable)
--- a/tas2557.h
+++ b/tas2557.h
 #define TAS2557_THERMAL_FOLDBACK_REG   TAS2557_REG(0, 51, 100)
 #define TAS2557_VPRED_COMP_REG                 TAS2557_REG(0, 53, 24)
 
-#define TAS2557_SA_COEFF_SWAP_REG              TAS2557_REG(0, 53, 44)
-#define TAS2557_SA_CHL_CTRL_REG                TAS2557_REG(0, 58, 120)
+#define TAS2557_SA_COEFF_SWAP_REG              TAS2557_REG(0, 53, 44)  /* B0_P0x35_R0x2c */
+#define TAS2557_SA_CHL_CTRL_REG                        TAS2557_REG(0, 58, 120) /* B0_P0x3a_R0x78 */
 
 #define TAS2557_TEST_MODE_REG                  TAS2557_REG(0, 253, 13)
 #define TAS2557_BROADCAST_REG                  TAS2557_REG(0, 253, 54)