ALSA: hda_intel: apply the Seperate stream_tag for Sunrise Point
authorLibin Yang <libin.yang@intel.com>
Thu, 26 Mar 2015 05:28:39 +0000 (13:28 +0800)
committerJiri Slaby <jslaby@suse.cz>
Thu, 30 Jul 2015 12:11:04 +0000 (14:11 +0200)
commit db48abf4367cb1f9e118defee0a37238638c2752 upstream.

The total stream number of Sunrise Point's input and output stream
exceeds 15, which will cause some streams do not work because
of the overflow on SDxCTL.STRM field if using the legacy
stream tag allocation method.

This patch uses the new stream tag allocation method by add
the flag AZX_DCAPS_SEPARATE_STREAM_TAG for Skylake platform.

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>
sound/pci/hda/hda_intel.c

index 9bb71f02d848d9ad1ee37ff41a7ad19df10f643e..ab4b984ef60755e72e88a367db56006b9b47b96a 100644 (file)
@@ -4091,7 +4091,7 @@ static DEFINE_PCI_DEVICE_TABLE(azx_ids) = {
          .driver_data = AZX_DRIVER_PCH | AZX_DCAPS_INTEL_PCH },
        /* Sunrise Point */
        { PCI_DEVICE(0x8086, 0xa170),
-         .driver_data = AZX_DRIVER_PCH | AZX_DCAPS_INTEL_PCH },
+         .driver_data = AZX_DRIVER_PCH | AZX_DCAPS_INTEL_SKYLAKE },
        /* Sunrise Point-LP */
        { PCI_DEVICE(0x8086, 0x9d70),
          .driver_data = AZX_DRIVER_PCH | AZX_DCAPS_INTEL_SKYLAKE },