ALSA: hda/hdmi - apply Haswell fix-ups to Skylake display codec
authorLibin Yang <libin.yang@intel.com>
Tue, 16 Dec 2014 05:17:34 +0000 (13:17 +0800)
committerTakashi Iwai <tiwai@suse.de>
Tue, 16 Dec 2014 08:10:19 +0000 (09:10 +0100)
Skylake and Haswell have the same behavior on display audio. So this patch
applys Haswell fix-ups to Skylake.

Signed-off-by: Libin Yang <libin.yang@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_hdmi.c

index 95129c261ff9daf04e05127cf7305a61e7752f0f..5f13d2d180791fb4cd674ee52ffcdb84ffc9c2d3 100644 (file)
@@ -47,7 +47,9 @@ MODULE_PARM_DESC(static_hdmi_pcm, "Don't restrict PCM parameters per ELD info");
 
 #define is_haswell(codec)  ((codec)->vendor_id == 0x80862807)
 #define is_broadwell(codec)    ((codec)->vendor_id == 0x80862808)
-#define is_haswell_plus(codec) (is_haswell(codec) || is_broadwell(codec))
+#define is_skylake(codec) ((codec)->vendor_id == 0x80862809)
+#define is_haswell_plus(codec) (is_haswell(codec) || is_broadwell(codec) \
+                                       || is_skylake(codec))
 
 #define is_valleyview(codec) ((codec)->vendor_id == 0x80862882)
 #define is_cherryview(codec) ((codec)->vendor_id == 0x80862883)
This page took 0.026539 seconds and 5 git commands to generate.