lkml.org 
[lkml]   [2017]   [Jun]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 4.11 08/58] ALSA: hda - Add Coffelake PCI ID
    Date
    4.11-stable review patch.  If anyone has any objections, please let me know.

    ------------------

    From: Megha Dey <megha.dey@intel.com>

    commit e79b0006c45c9b0b22f3ea54ff6e256b34c1f208 upstream.

    Coffelake is another Intel part, so need to add PCI ID for it.

    Signed-off-by: Megha Dey <megha.dey@intel.com>
    Signed-off-by: Subhransu S. Prusty <subhransu.s.prusty@intel.com>
    Acked-by: Vinod Koul <vinod.koul@intel.com>
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

    ---
    sound/pci/hda/hda_intel.c | 6 +++++-
    1 file changed, 5 insertions(+), 1 deletion(-)

    --- a/sound/pci/hda/hda_intel.c
    +++ b/sound/pci/hda/hda_intel.c
    @@ -370,9 +370,10 @@ enum {
    #define IS_KBL_H(pci) ((pci)->vendor == 0x8086 && (pci)->device == 0xa2f0)
    #define IS_BXT(pci) ((pci)->vendor == 0x8086 && (pci)->device == 0x5a98)
    #define IS_GLK(pci) ((pci)->vendor == 0x8086 && (pci)->device == 0x3198)
    +#define IS_CFL(pci) ((pci)->vendor == 0x8086 && (pci)->device == 0xa348)
    #define IS_SKL_PLUS(pci) (IS_SKL(pci) || IS_SKL_LP(pci) || IS_BXT(pci)) || \
    IS_KBL(pci) || IS_KBL_LP(pci) || IS_KBL_H(pci) || \
    - IS_GLK(pci)
    + IS_GLK(pci) || IS_CFL(pci)

    static char *driver_short_names[] = {
    [AZX_DRIVER_ICH] = "HDA Intel",
    @@ -2251,6 +2252,9 @@ static const struct pci_device_id azx_id
    /* Kabylake-H */
    { PCI_DEVICE(0x8086, 0xa2f0),
    .driver_data = AZX_DRIVER_PCH | AZX_DCAPS_INTEL_SKYLAKE },
    + /* Coffelake */
    + { PCI_DEVICE(0x8086, 0xa348),
    + .driver_data = AZX_DRIVER_PCH | AZX_DCAPS_INTEL_SKYLAKE},
    /* Broxton-P(Apollolake) */
    { PCI_DEVICE(0x8086, 0x5a98),
    .driver_data = AZX_DRIVER_PCH | AZX_DCAPS_INTEL_BROXTON },

    \
     
     \ /
      Last update: 2017-06-27 16:30    [W:4.028 / U:0.144 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site