[ALSA] usb-audio: fix number of G-70 ports


This Linux change may have been applied to various maintained Linux releases and you can find Linux releases containing changes from commit 0542257.
This change “[ALSA] usb-audio: fix number of G-70 ports” in Linux kernel is authored by Clemens Ladisch <clemens [at] ladisch.de> on Wed Jan 18 15:44:53 2006 +0100.


[ALSA] usb-audio: fix number of G-70 ports

Modules: USB generic driver

The G-70 has one MIDI port in each direction, no two.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>

This Linux change may have been applied to various maintained Linux releases and you can find Linux releases containing changes from commit 0542257.

There are 4 lines of Linux source code added/deleted in this change. Code changes to Linux kernel are as follows.

 sound/usb/usbquirks.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sound/usb/usbquirks.h b/sound/usb/usbquirks.h
index 42079da..edb8887 100644
--- a/sound/usb/usbquirks.h
+++ b/sound/usb/usbquirks.h
@@ -1100,8 +1100,8 @@
 		.ifnum = 0,
 		.type = QUIRK_MIDI_FIXED_ENDPOINT,
 		.data = & (const struct snd_usb_midi_endpoint_info) {
-			.out_cables = 0x0003,
-			.in_cables  = 0x0003
+			.out_cables = 0x0001,
+			.in_cables  = 0x0001
 		}
 	}
 },

The commit for this change in Linux stable tree is 0542257 (patch).

Leave a Reply

Your email address will not be published. Required fields are marked *