[ARM] tegra: stingray: fixed Bluetooth-bypass switch for DAC2-DAP4
authorMike Corrigan <michael.corrigan@motorola.com>
Wed, 13 Oct 2010 03:05:32 +0000 (22:05 -0500)
committerIliyan Malchev <malchev@google.com>
Fri, 15 Oct 2010 20:39:59 +0000 (13:39 -0700)
Corrected the DAP4 input source.
Corrected the DAP control register index.

Change-Id: I514bdb30ead272cf1dfb65acfae06c3654ea935a
Signed-off-by: Mike Corrigan <michael.corrigan@motorola.com>
Signed-off-by: Iliyan Malchev <malchev@google.com>
arch/arm/mach-tegra/board-stingray.c

index 1d4712c41ea17de11953a46175a5400e048dfc9d..1d58e54f4623074203efd952ea7baca1f2843158 100644 (file)
@@ -901,7 +901,7 @@ static void init_dac2(bool bluetooth)
                                APB_MISC_DAS_DAC_INPUT_DATA_CLK_SEL_0 + 4);
        } else {
                /* DAC2 -> DAP4 for Bluetooth Voice */
-               das_writel((!master)<<31 | 19, APB_MISC_DAS_DAP_CTRL_SEL_0 + 4);
+               das_writel((!master)<<31 | 1, APB_MISC_DAS_DAP_CTRL_SEL_0 + 12);
                das_writel(3<<28 | 3<<24 | 3,
                                APB_MISC_DAS_DAC_INPUT_DATA_CLK_SEL_0 + 4);
        }