]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda_controller: Separate stream_tag for input and output streams.
authorRafal Redzimski <rafal.f.redzimski@intel.com>
Fri, 19 Dec 2014 00:44:30 +0000 (08:44 +0800)
committerTakashi Iwai <tiwai@suse.de>
Fri, 26 Dec 2014 11:21:21 +0000 (12:21 +0100)
commita3a951241280c4dc6aed05021095782d58dd296a
treef1c490d8bdcc06665c914ebe77f5b7f10c6caf19
parentc687bb41805a1238a38a086952014d5682516d9d
ALSA: hda_controller: Separate stream_tag for input and output streams.

Implemented separate stream_tag assignment for input and output streams.
According to hda specification stream tag must be unique throughout the
input streams group, however an output stream might use a stream tag
which is already in use by an input stream. This change is necessary
to support HW which provides a total of more than 15 stream DMA engines
which with legacy implementation causes an overflow on SDxCTL.STRM
field (and the whole SDxCTL register) and as a result usage of
Reserved value 0 in the SDxCTL.STRM field which confuses HDA controller.

Signed-off-by: Rafal Redzimski <rafal.f.redzimski@intel.com>
Signed-off-by: Jayachandran B <jayachandran.b@intel.com>
Signed-off-by: Libin Yang <libin.yang@intel.com>
Reviewed-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_controller.c
sound/pci/hda/hda_priv.h