ALSA: Change amd hda patch to make advanced features for rev3+ working

This commit is contained in:
fritsch 2013-10-06 15:42:55 +03:00 committed by Stefan Saraev
parent 54e6dd2290
commit 8e1d0789f8

View File

@ -202,7 +202,7 @@ index 2e7493e..7c0b89e 100644
+/* shared with patch_hdmi.c and hda_eld.c */
+#define is_atihdmi(codec) (((codec)->vendor_id & 0xffff0000) == 0x10020000)
+#define is_amdhdmi_rev3(codec) \
+ ((codec)->vendor_id == 0x1002791a && ((codec)->revision_id & 0xff00) >= 0x0300)
+ ((codec)->vendor_id == 0x1002aa01 && ((codec)->revision_id & 0xff00) >= 0x0300)
+
#endif /* __SOUND_HDA_LOCAL_H */
diff --git a/sound/pci/hda/patch_hdmi.c b/sound/pci/hda/patch_hdmi.c