exynos-linux-stable/sound/firewire/oxfw
Takashi Sakamoto 827faa2e4e ALSA: oxfw: fix regression to handle Stanton SCS.1m/1d
commit 3d016d57fdc5e6caa4cd67896f4b081bccad6e2c upstream.

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")
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>
2017-05-03 08:36:37 -07:00
..
Makefile ALSA: oxfw: add scs1x layer 2015-12-22 11:51:27 +01:00
oxfw-command.c ALSA: oxfw: Add support for AV/C stream format command to get/set supported stream formation 2014-12-10 10:47:09 +01:00
oxfw-hwdep.c ALSA: oxfw: Add hwdep interface 2014-12-10 10:50:00 +01:00
oxfw-midi.c ALSA: oxfw: calculating MIDI ports in stream discover 2015-10-19 12:00:47 +02: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: discontinue MIDI substream for scs1x at transaction failure 2016-02-24 16:32:08 +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-05-03 08:36:37 -07:00
oxfw.h ALSA: oxfw: delayed registration of sound card 2016-03-31 15:36:19 +02:00