]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ALSA: line6: Remove invalid capability bits for PODxt Live Variax
authorTakashi Iwai <tiwai@suse.de>
Wed, 28 Jan 2015 14:03:31 +0000 (15:03 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 28 Jan 2015 19:54:46 +0000 (20:54 +0100)
PODxt Live Variax doesn't have PCM and HWMON but only MIDI.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/line6/variax.c

index 9dfbe7916d99e768f11dbaf5ce7b4b5bb9a2b85a..b1c1de65d58443ab7992390762f5f81fbeb8f5d5 100644 (file)
@@ -259,9 +259,7 @@ static const struct line6_properties variax_properties_table[] = {
        [LINE6_PODXTLIVE_VARIAX] = {
                .id = "PODxtLive",
                .name = "PODxt Live",
-               .capabilities   = LINE6_CAP_CONTROL
-                               | LINE6_CAP_PCM
-                               | LINE6_CAP_HWMON,
+               .capabilities   = LINE6_CAP_CONTROL,
                .altsetting = 1,
                .ep_ctrl_r = 0x86,
                .ep_ctrl_w = 0x05,