]> git.ipfire.org Git - people/ms/linux.git/commit
ALSA: firewire-lib: remove reference counting
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sat, 21 Feb 2015 14:54:58 +0000 (23:54 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Mar 2015 13:11:04 +0000 (14:11 +0100)
commitc1972576af1db89251965ab266fd05aa58ff8e73
tree41bade4bdc04ebcb13f33e2af86021182c43f71a
parent2a5d626d0c627edd44347b0c55a7726faef95a3c
ALSA: firewire-lib: remove reference counting

commit c6f224dc20ad959175c2dfec70b5a61c6503a793 upstream.

AMDTP helper functions increment/decrement reference counter for an
instance of FireWire unit, while it's complicated for each driver to
process error state.

In previous commit, each driver has the role of reference counting. This
commit removes this role from the helper function.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/firewire/amdtp.c