ALSA: hda - add sanity check to force the separate stream tags
authorJaroslav Kysela <perex@perex.cz>
Wed, 15 Feb 2017 16:09:43 +0000 (17:09 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 15 Feb 2017 20:24:44 +0000 (21:24 +0100)
commitdf56c3dbae0e6df0edcca2e778810a3d8c994f4e
treeaaf39f7d22d2c0dc133040fee3c842c7256a5cf0
parente7480b34ad1ab84a63540b2c884cb92c0764ab74
ALSA: hda - add sanity check to force the separate stream tags

It seems that newer Intel chipsets have more than 15 I/O streams (total).
This patch forces the separate stream tags, when this hardware is detected
to avoid SDxCTL.STRM field overflow and an unexpected behaviour.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_intel.c