浏览代码

USB: usbtmc: add protocol 1 support

The driver already supports the 1 protocol support, so just add it to
the MODULE_DEVICE_TABLE entry so it properly picks up these devices.

Thanks to Jouni Rynö for pointing this out.

Reported-by: Jouni Ryno <Jouni.Ryno@fmi.fi>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Greg Kroah-Hartman 16 年之前
父节点
当前提交
228dd05dbf
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      drivers/usb/class/usbtmc.c

+ 1 - 0
drivers/usb/class/usbtmc.c

@@ -50,6 +50,7 @@
 
 
 static struct usb_device_id usbtmc_devices[] = {
 static struct usb_device_id usbtmc_devices[] = {
 	{ USB_INTERFACE_INFO(USB_CLASS_APP_SPEC, 3, 0), },
 	{ USB_INTERFACE_INFO(USB_CLASS_APP_SPEC, 3, 0), },
+	{ USB_INTERFACE_INFO(USB_CLASS_APP_SPEC, 3, 1), },
 	{ 0, } /* terminating entry */
 	{ 0, } /* terminating entry */
 };
 };
 MODULE_DEVICE_TABLE(usb, usbtmc_devices);
 MODULE_DEVICE_TABLE(usb, usbtmc_devices);