mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 02:50:49 +09:00
Revert "ALSA: line6: Only determine control port properties if needed"
commitf3d83317a6upstream. This reverts commitf6a0dd107a. The commit caused a regression on LINE6 Transport that has no control caps. Although reverting the commit may result back in a spurious error message for some device again, it's the simplest regression fix, hence it's taken as is at first. The further code fix will follow later. Fixes:f6a0dd107a("ALSA: line6: Only determine control port properties if needed") Reported-by: Igor Zinovev <zinigor@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
23b1595b97
commit
34f840fc0d
@@ -754,8 +754,9 @@ int line6_probe(struct usb_interface *interface,
|
||||
goto error;
|
||||
}
|
||||
|
||||
line6_get_interval(line6);
|
||||
|
||||
if (properties->capabilities & LINE6_CAP_CONTROL) {
|
||||
line6_get_interval(line6);
|
||||
ret = line6_init_cap_control(line6);
|
||||
if (ret < 0)
|
||||
goto error;
|
||||
|
||||
Reference in New Issue
Block a user