aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/patch_hdmi.c
diff options
context:
space:
mode:
authorLu, Han <han.lu@intel.com>2015-11-11 03:54:27 -0500
committerTakashi Iwai <tiwai@suse.de>2015-11-11 04:02:55 -0500
commite2656412f2a7343ecfd13eb74bac0a6e6e9c5aad (patch)
tree56634521e69ff328b5b8089936d848d2ceef4102 /sound/pci/hda/patch_hdmi.c
parent43f2cdeb7a61598050028f1eae51b9cb5398af42 (diff)
ALSA: hda/hdmi - apply Skylake fix-ups to Broxton display codec
Broxton and Skylake have the same behavior on display audio. So this patch applys Skylake fix-ups to Broxton. Signed-off-by: Lu, Han <han.lu@intel.com> Cc: <stable@vger.kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/patch_hdmi.c')
-rw-r--r--sound/pci/hda/patch_hdmi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_hdmi.c b/sound/pci/hda/patch_hdmi.c
index f503a883bef3..309274bd1858 100644
--- a/sound/pci/hda/patch_hdmi.c
+++ b/sound/pci/hda/patch_hdmi.c
@@ -50,8 +50,9 @@ MODULE_PARM_DESC(static_hdmi_pcm, "Don't restrict PCM parameters per ELD info");
50#define is_haswell(codec) ((codec)->core.vendor_id == 0x80862807) 50#define is_haswell(codec) ((codec)->core.vendor_id == 0x80862807)
51#define is_broadwell(codec) ((codec)->core.vendor_id == 0x80862808) 51#define is_broadwell(codec) ((codec)->core.vendor_id == 0x80862808)
52#define is_skylake(codec) ((codec)->core.vendor_id == 0x80862809) 52#define is_skylake(codec) ((codec)->core.vendor_id == 0x80862809)
53#define is_broxton(codec) ((codec)->core.vendor_id == 0x8086280a)
53#define is_haswell_plus(codec) (is_haswell(codec) || is_broadwell(codec) \ 54#define is_haswell_plus(codec) (is_haswell(codec) || is_broadwell(codec) \
54 || is_skylake(codec)) 55 || is_skylake(codec) || is_broxton(codec))
55 56
56#define is_valleyview(codec) ((codec)->core.vendor_id == 0x80862882) 57#define is_valleyview(codec) ((codec)->core.vendor_id == 0x80862882)
57#define is_cherryview(codec) ((codec)->core.vendor_id == 0x80862883) 58#define is_cherryview(codec) ((codec)->core.vendor_id == 0x80862883)