]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: oxfw: delayed registration of sound card
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Wed, 30 Mar 2016 23:47:07 +0000 (08:47 +0900)
committerTakashi Iwai <tiwai@suse.de>
Thu, 31 Mar 2016 13:36:19 +0000 (15:36 +0200)
commitfacf01015e43ff55dc5c69f3a73b8e298011bcf3
tree9c86d17f81b67aeb1abdc2f6a2edbb368d21037a
parent4bca1e7c19dddf85acc265d0f1c60396e0bba426
ALSA: oxfw: delayed registration of sound card

Some oxfw based units tends to fail asynchronous communication when
IEEE 1394 bus is under bus-reset state. When registering sound card
instance at unit probe callback, userspace applications can be involved
to the state.

This commit postpones the registration till the bus is calm.

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