]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
staging: line6: add missing MIDI postprocessing case for POD HD300
authorStefan Hajnoczi <stefanha@gmail.com>
Wed, 23 Nov 2011 08:20:43 +0000 (08:20 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 27 Nov 2011 00:14:11 +0000 (16:14 -0800)
The driver leaves MIDI processing up to userspace for the POD HD300
device.  Add a missing case statement to skip MIDI postprocessing in the
driver.  This change has no effect other than silencing a printk:

  line6usb driver bug: missing case in linux/drivers/staging/line6/midi.c:179

Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/line6/midi.c

index 86c50cf9b2a78d1952d36486c7fe33514c227bac..ed5577f25afe1008c4257918da8edc3fe98fbea3 100644 (file)
@@ -173,6 +173,7 @@ static int send_midi_async(struct usb_line6 *line6, unsigned char *data,
                break;
 
        case LINE6_DEVID_VARIAX:
+       case LINE6_DEVID_PODHD300:
                break;
 
        default: