diff options
Diffstat (limited to 'sound/firewire/fireface')
-rw-r--r-- | sound/firewire/fireface/ff.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/firewire/fireface/ff.c b/sound/firewire/fireface/ff.c index 98731bd8816f..73425dfe63bf 100644 --- a/sound/firewire/fireface/ff.c +++ b/sound/firewire/fireface/ff.c | |||
@@ -145,8 +145,8 @@ static void snd_ff_remove(struct fw_unit *unit) | |||
145 | cancel_work_sync(&ff->dwork.work); | 145 | cancel_work_sync(&ff->dwork.work); |
146 | 146 | ||
147 | if (ff->registered) { | 147 | if (ff->registered) { |
148 | /* No need to wait for releasing card object in this context. */ | 148 | // Block till all of ALSA character devices are released. |
149 | snd_card_free_when_closed(ff->card); | 149 | snd_card_free(ff->card); |
150 | } else { | 150 | } else { |
151 | /* Don't forget this case. */ | 151 | /* Don't forget this case. */ |
152 | ff_free(ff); | 152 | ff_free(ff); |