From: Takashi Iwai Subject: Re: [PATCH] ALSA: hda/hdmi - apply Haswell fix-ups to Skylake display codec Date: Tue, 16 Dec 2014 09:11:05 +0100 Message-ID: References: <1418707054-22891-1-git-send-email-libin.yang@intel.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 1DBCC2605C3 for ; Tue, 16 Dec 2014 09:11:06 +0100 (CET) In-Reply-To: <1418707054-22891-1-git-send-email-libin.yang@intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: libin.yang@intel.com Cc: mengdong.lin@intel.com, alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Tue, 16 Dec 2014 13:17:34 +0800, libin.yang@intel.com wrote: > > From: Libin Yang > > Skylake and Haswell have the same behavior on display audio. So this patch > applys Haswell fix-ups to Skylake. > > Signed-off-by: Libin Yang Applied, thanks. Takashi > --- > sound/pci/hda/patch_hdmi.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/sound/pci/hda/patch_hdmi.c b/sound/pci/hda/patch_hdmi.c > index 95129c2..5f13d2d 100644 > --- a/sound/pci/hda/patch_hdmi.c > +++ b/sound/pci/hda/patch_hdmi.c > @@ -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) > -- > 1.9.1 >