OSDN Git Service

ALSA: firewire: release reference count of firewire unit in .remove callback of bus...
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Wed, 10 Oct 2018 06:35:00 +0000 (15:35 +0900)
committerTakashi Iwai <tiwai@suse.de>
Wed, 10 Oct 2018 10:11:41 +0000 (12:11 +0200)
commit5b14ec25a79bf60fc9a663fe579a500b6ac9d8ab
tree011033efd4ac1674da01c16ef438092f32a48243
parent61ccc6f6b27c03bb32ca38a3c580d49ce1612d43
ALSA: firewire: release reference count of firewire unit in .remove callback of bus driver

In a previous commit, drivers in ALSA firewire stack blocks .remove
callback of bus driver. This enables to release members of private
data in the callback after releasing device of sound card.

This commit simplifies codes to release the members.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/firewire/bebob/bebob.c
sound/firewire/dice/dice.c
sound/firewire/digi00x/digi00x.c
sound/firewire/fireface/ff.c
sound/firewire/fireworks/fireworks.c
sound/firewire/isight.c
sound/firewire/motu/motu.c
sound/firewire/oxfw/oxfw.c
sound/firewire/tascam/tascam.c