From: Mike Corrigan Date: Wed, 13 Oct 2010 03:05:32 +0000 (-0500) Subject: [ARM] tegra: stingray: fixed Bluetooth-bypass switch for DAC2-DAP4 X-Git-Tag: firefly_0821_release~9834^2~449 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=52316d0848d0fa7d61264fa5b4635cee66575b3a;p=firefly-linux-kernel-4.4.55.git [ARM] tegra: stingray: fixed Bluetooth-bypass switch for DAC2-DAP4 Corrected the DAP4 input source. Corrected the DAP control register index. Change-Id: I514bdb30ead272cf1dfb65acfae06c3654ea935a Signed-off-by: Mike Corrigan Signed-off-by: Iliyan Malchev --- diff --git a/arch/arm/mach-tegra/board-stingray.c b/arch/arm/mach-tegra/board-stingray.c index 1d4712c41ea1..1d58e54f4623 100644 --- a/arch/arm/mach-tegra/board-stingray.c +++ b/arch/arm/mach-tegra/board-stingray.c @@ -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); }