diff options
author | Rahul Mittal <rmittal@nvidia.com> | 2012-10-11 18:54:41 +0530 |
---|---|---|
committer | Simone Willett <swillett@nvidia.com> | 2012-10-25 12:21:32 -0700 |
commit | 64b1de6e6072ba7a992430368b991c96c209147e (patch) | |
tree | 1348f91e5e32a425699455295634591e946d0b91 /sound | |
parent | f0ff176a12f1aeb235740fe983371350065f244f (diff) |
ALSA: hda: Fix condition check for hda clock disable
HDA clocks weren't getting disabled in display on.
Corrected error in condition check to fix the issue.
Bug 1156125
Signed-off-by: Rahul Mittal <rmittal@nvidia.com>
Reviewed-on: http://git-master/r/143718
(cherry picked from commit f1cf49754fbf950ec7bdac646425443cf047c30f)
Change-Id: I795bab4e3d976a57d1a17181d2b39ee740eab6a0
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/146963
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Rahul Mittal <rmittal@nvidia.com>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/pci/hda/patch_hdmi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_hdmi.c b/sound/pci/hda/patch_hdmi.c index 637b3b2912d7..1b3b8c8b0226 100644 --- a/sound/pci/hda/patch_hdmi.c +++ b/sound/pci/hda/patch_hdmi.c @@ -1172,7 +1172,7 @@ static int hdmi_parse_codec(struct hda_codec *codec) */ #ifdef CONFIG_SND_HDA_POWER_SAVE if ((!(snd_hda_param_read(codec, codec->afg, AC_PAR_POWER_STATE) & - AC_PWRST_EPSS)) && ((codec->preset->id != 0x10de0020) || + AC_PWRST_EPSS)) && ((codec->preset->id != 0x10de0020) && (codec->preset->id != 0x10de0022))) codec->bus->power_keep_link_on = 1; #endif |