diff options
| author | Takashi Sakamoto <[email protected]> | 2017-04-03 12:13:40 +0000 |
|---|---|---|
| committer | Takashi Iwai <[email protected]> | 2017-04-05 19:35:14 +0000 |
| commit | 3d016d57fdc5e6caa4cd67896f4b081bccad6e2c (patch) | |
| tree | 25edf51c9db096d7a4ebe0b3b7f5ceb1edd3394c /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
| parent | ALSA: hda - fix a problem for lineout on a Dell AIO machine (diff) | |
| download | kernel-3d016d57fdc5e6caa4cd67896f4b081bccad6e2c.tar.gz kernel-3d016d57fdc5e6caa4cd67896f4b081bccad6e2c.zip | |
ALSA: oxfw: fix regression to handle Stanton SCS.1m/1d
At a commit 6c29230e2a5f ("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: 6c29230e2a5f ("ALSA: oxfw: delayed registration of sound card")
Cc: <[email protected]> # 4.7+
Signed-off-by: Takashi Sakamoto <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions
