ALSA: hda - add PCI IDs for Intel Braswell
PATCH 1/2 ALSA: hda - add PCI IDs for Intel Braswell
From: Libin Yang <[email protected]>
Add HD Audio Device PCI ID for the Intel Braswell platform. It is an HDA Intel PCH controller.
AZX_DCAPS_ALIGN_BUFSIZE is not necessary for this controller.
Signed-off-by Libin Yang <[email protected]>
--- sound/pci/hda/hda_intel.c | 3 +++ 1 file changed, 3 insertions(+)
sound/pci/hda/hda_intel.c +3 -0
@@ -2017,6 +2017,9 @@ static const struct pci_device_id azx_ids[] = {/* BayTrail */ { PCI_DEVICE(0x8086, 0x0f04), .driver_data = AZX_DRIVER_PCH | AZX_DCAPS_INTEL_PCH_NOPM }, + /* Braswell */ + { PCI_DEVICE(0x8086, 0x2284), + .driver_data = AZX_DRIVER_PCH | AZX_DCAPS_INTEL_PCH }, /* ICH */ { PCI_DEVICE(0x8086, 0x2668), .driver_data = AZX_DRIVER_ICH | AZX_DCAPS_OLD_SSYNC |
Signature · 1 line
1.9.1
PATCH 2/2 ALSA: hda - add codec ID for Braswell display audio codec
From: Libin Yang <[email protected]>
This patch adds codec ID (0x80862883) and module alias for Braswell display codec.
Signed-off-by Libin Yang <[email protected]>
--- sound/pci/hda/patch_hdmi.c | 2 ++ 1 file changed, 2 insertions(+)
sound/pci/hda/patch_hdmi.c +2 -0
@@ -3356,6 +3356,7 @@ static const struct hda_codec_preset snd_hda_preset_hdmi[] = { { .id = 0x80862808, .name = "Broadwell HDMI", .patch = patch_generic_hdmi }, { .id = 0x80862880, .name = "CedarTrail HDMI", .patch = patch_generic_hdmi }, { .id = 0x80862882, .name = "Valleyview2 HDMI", .patch = patch_generic_hdmi }, +{ .id = 0x80862883, .name = "Braswell HDMI", .patch = patch_generic_hdmi }, { .id = 0x808629fb, .name = "Crestline HDMI", .patch = patch_generic_hdmi }, {}/* terminator */ };
@@ -3415,6 +3416,7 @@ MODULE_ALIAS("snd-hda-codec-id:80862807");MODULE_ALIAS ("snd-hda-codec-id:80862808" );MODULE_ALIAS ("snd-hda-codec-id:80862880" );MODULE_ALIAS ("snd-hda-codec-id:80862882" ); +MODULE_ALIAS ("snd-hda-codec-id:80862883" );MODULE_ALIAS ("snd-hda-codec-id:808629fb" );MODULE_LICENSE ("GPL" );
Signature · 1 line
1.9.1
Takashi Iwai
AppliedAt Mon, 4 Aug 2014 09:22:44 +0800,
Quoted 9 lines · [email protected] wrote:
From: Libin Yang <[email protected]>
Add HD Audio Device PCI ID for the Intel Braswell platform. It is an HDA Intel PCH controller.
AZX_DCAPS_ALIGN_BUFSIZEis not necessary for this controller.Signed-off-by Libin Yang <[email protected]>
Thanks, applied both patches.
Takashi
Quoted 21 lines
--- sound/pci/hda/hda_intel.c | 3 +++ 1 file changed, 3 insertions(+)sound/pci/hda/hda_intel.c +3
-0@@ -2017,6 +2017,9 @@ static const struct pci_device_id azx_ids[] = {/* BayTrail */ { PCI_DEVICE(0x8086, 0x0f04), .driver_data = AZX_DRIVER_PCH | AZX_DCAPS_INTEL_PCH_NOPM }, + /* Braswell */ + { PCI_DEVICE(0x8086, 0x2284), + .driver_data = AZX_DRIVER_PCH | AZX_DCAPS_INTEL_PCH }, /* ICH */ { PCI_DEVICE(0x8086, 0x2668), .driver_data = AZX_DRIVER_ICH | AZX_DCAPS_OLD_SSYNC |Signature · 1 line
1.9.1