diff options
author | Takashi Iwai <tiwai@suse.de> | 2010-08-20 07:44:36 (GMT) |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2010-08-20 07:49:42 (GMT) |
commit | 3f50ac6a0ec80a83a1a033fe5004fb319ad72db7 (patch) | |
tree | 8e48910834056f4a7ef7219ad6a0741e5d8294fb /sound/drivers/pcsp | |
parent | 4f34760787c3751a3146f0eecdc79c3e97b94962 (diff) | |
download | linux-3f50ac6a0ec80a83a1a033fe5004fb319ad72db7.tar.xz |
ALSA: hda - Fix stream and channel-ids codec-bus wide
The new sticky PCM parameter introduced the delayed clean-ups of
stream- and channel-id tags. In the current implementation, this check
(adding dirty flag) and actual clean-ups are done only for the codec
chip. However, with HD-audio architecture, multiple codecs can be
on a single bus, and the controller assign stream- and channel-ids in
the bus-wide.
In this patch, the stream-id and channel-id are checked over all codecs
connected to the corresponding bus. Together with it, the mutex is
moved to struct hda_bus, as this becomes also bus-wide.
Reported-and-tested-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/drivers/pcsp')
0 files changed, 0 insertions, 0 deletions