diff options
author | Libin Yang <libin.yang@intel.com> | 2014-12-16 13:17:34 +0800 |
---|---|---|
committer | Jiri Slaby <jslaby@suse.cz> | 2015-07-30 14:11:05 +0200 |
commit | aeb35ac1eb13d1b59a0832eae21901c52601ed87 (patch) | |
tree | 92bff3135bf3e1fe014d5123f035741ab00052c2 /sound | |
parent | c4bbc5b1fa118f40a52187d068c029df4ac25dbe (diff) | |
download | lwn-aeb35ac1eb13d1b59a0832eae21901c52601ed87.tar.gz lwn-aeb35ac1eb13d1b59a0832eae21901c52601ed87.zip |
ALSA: hda/hdmi - apply Haswell fix-ups to Skylake display codec
commit 432ac1a2c028acb289d90f918e3a7b79e4ac8c07 upstream.
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>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/pci/hda/patch_hdmi.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_hdmi.c b/sound/pci/hda/patch_hdmi.c index 430802f15895..830021f4aa06 100644 --- a/sound/pci/hda/patch_hdmi.c +++ b/sound/pci/hda/patch_hdmi.c @@ -46,7 +46,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) |