ALSA: fireworks: fix asymmetric API call at unit removal
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Tue, 3 Jan 2017 02:58:32 +0000 (11:58 +0900)
committerTakashi Iwai <tiwai@suse.de>
Tue, 3 Jan 2017 10:36:13 +0000 (11:36 +0100)
commite2eb31d72156c58b717396383496a7c93aa01b75
tree81ef0617c3dbd999f487d03c085c487d6d95dfea
parent0c744ea4f77d72b3dcebb7a8f2684633ec79be88
ALSA: fireworks: fix asymmetric API call at unit removal

ALSA fireworks driver has a bug not to call an API to destroy
'cmp_connection' structure for input direction. Currently this causes no
issues because it just destroys 'mutex' structure, while it's better to
fix it for future work.

Fix: d23c2cc4485d ("ALSA: fireworks/bebob/dice/oxfw: allow stream destructor after releasing runtime")
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/firewire/fireworks/fireworks_stream.c