]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Increment default stream numbers for AMD HDMI controllers
authorTakashi Iwai <tiwai@suse.de>
Mon, 9 Dec 2013 09:18:09 +0000 (10:18 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 8 Jan 2014 08:58:30 +0000 (09:58 +0100)
commitcc251cff7065cca81f015c4cfe33e718e12675e5
treeb78a9dd614efbe4938e79444fdd81c4905b32bad
parent0c0b4deb9619ab9b6f9b564279c49967c511de19
ALSA: hda - Increment default stream numbers for AMD HDMI controllers

It turned out that some AMD HDMI controllers still don't provide
proper values in GCAP register (all zero), and the driver assigns only
one stream in that case, although the connected codec chip supports
more than one stream.

In this patch, the default max number of streams for AMD HDMI
controllers is increased to 8, which  should suffice for most use
cases.  The overhead by this increase is more azx_dev struct and BDL
allocations, so it's negligible.  Of course, if the controller
provides a proper GCAP register, the register value would be used.

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