]> asedeno.scripts.mit.edu Git - linux.git/commit
ALSA: bebob/fireworks: simplify handling of local device entry table
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Wed, 10 Oct 2018 06:35:01 +0000 (15:35 +0900)
committerTakashi Iwai <tiwai@suse.de>
Wed, 10 Oct 2018 10:11:47 +0000 (12:11 +0200)
commit873608dc6b5da7a2571419bfa10e0d088d39cee0
treeb0f7ec34dc4186fa69a91f15fb9782b41f0826b5
parent5b14ec25a79bf60fc9a663fe579a500b6ac9d8ab
ALSA: bebob/fireworks: simplify handling of local device entry table

In drivers of ALSA firewire stack, bebob and fireworks drivers have
local device entry table. At present, critical section to operate the
table is from the beginning/end of 'do_registration' call. This can be
more narrow and simplify codes.

This commit applies small refactoring for the above purpose.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/firewire/bebob/bebob.c
sound/firewire/fireworks/fireworks.c