[PATCH 1/3] staging: line6: add missing HD300/HD500 MIDI postprocessing cases

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Stefan Hajnoczi <stefanha@xxxxxxxxx>

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 <stefanha@xxxxxxxxx>
---
 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
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux