From: Stefan Hajnoczi <[email protected]>

The driver leaves MIDI processing up to userspace for the POD
HD300/HD500 devices.  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 <[email protected]>
---
 midi.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/midi.c b/midi.c
index c96be26..5ace061 100644
--- a/midi.c
+++ b/midi.c
@@ -173,6 +173,8 @@ static int send_midi_async(struct usb_line6 *line6, 
unsigned char *data,
                break;
 
        case LINE6_DEVID_VARIAX:
+       case LINE6_DEVID_PODHD300:
+       case LINE6_DEVID_PODHD500:
                break;
 
        default:
-- 
1.7.7.1

_______________________________________________
devel mailing list
[email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel

Reply via email to