diff options
author | Manish Patel | 2015-02-17 19:06:13 +0530 |
---|---|---|
committer | Srikant Patnaik | 2015-02-17 19:15:30 +0530 |
commit | aa260eac36acaa7e9c5b4e5ac5d816c9046e46df (patch) | |
tree | a8826f2ccc7251025f83374785380afd51404213 /sound/soc/wmt/wmt-i2s.c | |
parent | 7d5ce2f3faf5a9a1ba0b796dc0ba91569276c0db (diff) | |
download | FOSSEE-netbook-kernel-source-aa260eac36acaa7e9c5b4e5ac5d816c9046e46df.tar.gz FOSSEE-netbook-kernel-source-aa260eac36acaa7e9c5b4e5ac5d816c9046e46df.tar.bz2 FOSSEE-netbook-kernel-source-aa260eac36acaa7e9c5b4e5ac5d816c9046e46df.zip |
Change Audio driver to redirect audio on speaker and headphone both while HDMI cable plugged-in
Signed-off-by: Manish Patel <manish.patel@volansystech.com>
Diffstat (limited to 'sound/soc/wmt/wmt-i2s.c')
-rwxr-xr-x | sound/soc/wmt/wmt-i2s.c | 4 |
1 files changed, 4 insertions, 0 deletions
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 |