ALSA: line6: Claim pod x3 usb data interface
authorAndrej Krutak <dev@andree.sk>
Tue, 29 Nov 2016 21:12:51 +0000 (22:12 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 29 Nov 2016 21:16:14 +0000 (22:16 +0100)
commitfc90172ba283b598b5497e968de47e3bc2800ed5
tree425c4bf6bb8de1f4f0592b0e388a3c6694853f6b
parente59d8bb574f6d8097e7e14981440dc37425fddc6
ALSA: line6: Claim pod x3 usb data interface

Userspace apps have to claim USB interfaces before using endpoints in
them (drivers/usb/core/devio.c:checkintf()). It's a lock mechanism so
that two "drivers" don't steal data from each other. Kernel drivers don't
have to claim interfaces to work - but they should, to lock out userspace.

While there, fix line6_properties struct to match checkpatch.pl.

Signed-off-by: Andrej Krutak <dev@andree.sk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/line6/driver.h
sound/usb/line6/podhd.c