diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2017-01-03 11:58:32 +0900 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2017-01-03 11:36:13 +0100 |
commit | e2eb31d72156c58b717396383496a7c93aa01b75 (patch) | |
tree | 81ef0617c3dbd999f487d03c085c487d6d95dfea /sound/firewire/fireworks | |
parent | 0c744ea4f77d72b3dcebb7a8f2684633ec79be88 (diff) | |
download | op-kernel-dev-e2eb31d72156c58b717396383496a7c93aa01b75.zip op-kernel-dev-e2eb31d72156c58b717396383496a7c93aa01b75.tar.gz |
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>
Diffstat (limited to 'sound/firewire/fireworks')
-rw-r--r-- | sound/firewire/fireworks/fireworks_stream.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/firewire/fireworks/fireworks_stream.c b/sound/firewire/fireworks/fireworks_stream.c index ee47924..827161b 100644 --- a/sound/firewire/fireworks/fireworks_stream.c +++ b/sound/firewire/fireworks/fireworks_stream.c @@ -117,7 +117,7 @@ destroy_stream(struct snd_efw *efw, struct amdtp_stream *stream) conn = &efw->in_conn; amdtp_stream_destroy(stream); - cmp_connection_destroy(&efw->out_conn); + cmp_connection_destroy(conn); } static int |