From aa260eac36acaa7e9c5b4e5ac5d816c9046e46df Mon Sep 17 00:00:00 2001 From: Manish Patel Date: Tue, 17 Feb 2015 19:06:13 +0530 Subject: Change Audio driver to redirect audio on speaker and headphone both while HDMI cable plugged-in Signed-off-by: Manish Patel --- sound/soc/wmt/wmt-i2s.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sound/soc/wmt/wmt-i2s.c b/sound/soc/wmt/wmt-i2s.c index 643d25e2..71e84828 100755 --- a/sound/soc/wmt/wmt-i2s.c +++ b/sound/soc/wmt/wmt-i2s.c @@ -223,11 +223,15 @@ void wmt_i2s_ch_config(void) ASMPF2HDACHCFG_VAL = 0x76543200; } + // Disable below piece of code to redirect audio on speaker and + // HDMI both while HDMI plugged-in +#if 0 if (i2s_data->HDMI_aud_enable) { /* disable DAC#0, if HDMI Audio is enabled */ ASMPFCHCFG0_VAL &= 0xFFFF00FF; ASMPFCHCFG0_VAL |= 0x00009800; } +#endif /* HDMI_SPDIF_STATE = 3, means disable HDMI&SPDIF 4, means enable HDMI only -- cgit