linux-sg2042/sound/firewire/oxfw
Takashi Sakamoto 3d016d57fd ALSA: oxfw: fix regression to handle Stanton SCS.1m/1d
At a commit 6c29230e2a ("ALSA: oxfw: delayed registration of sound
card"), ALSA oxfw driver fails to handle SCS.1m/1d, due to -EBUSY at a call
of snd_card_register(). The cause is that the driver manages to register
two rawmidi instances with the same device number 0. This is a regression
introduced since kernel 4.7.

This commit fixes the regression, by fixing up device property after
discovering stream formats.

Fixes: 6c29230e2a ("ALSA: oxfw: delayed registration of sound card")
Cc: <stable@vger.kernel.org> # 4.7+
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2017-04-05 21:35:14 +02:00
..
Makefile ALSA: oxfw: add scs1x layer 2015-12-22 11:51:27 +01:00
oxfw-command.c
oxfw-hwdep.c ALSA: oxfw: Add hwdep interface 2014-12-10 10:50:00 +01:00
oxfw-midi.c ALSA: firewire: Constify snd_rawmidi_ops 2017-01-12 12:50:38 +01:00
oxfw-pcm.c ALSA: firewire: constify snd_pcm_ops structures 2016-09-02 11:50:11 +02:00
oxfw-proc.c ALSA: oxfw: some signedness bugs 2014-12-15 10:03:21 +01:00
oxfw-scs1x.c ALSA: oxfw: enclose identifiers referred by single function for scs1x feature 2017-01-14 09:31:57 +01:00
oxfw-spkr.c ALSA: oxfw: move model-specific parameters from common structure 2015-12-22 11:50:31 +01:00
oxfw-stream.c ALSA: firewire-lib: enable the same feature as CIP_SKIP_INIT_DBC_CHECK flag 2016-05-10 17:04:01 +02:00
oxfw.c ALSA: oxfw: fix regression to handle Stanton SCS.1m/1d 2017-04-05 21:35:14 +02:00
oxfw.h sched/headers: Prepare to move signal wakeup & sigpending methods from <linux/sched.h> into <linux/sched/signal.h> 2017-03-02 08:42:32 +01:00