Explorar o código

cdc-acm:exclude Samsung phone 04e8:685d

This phone needs to be handled by a specialised firmware tool
and is reported to crash irrevocably if cdc-acm takes it.

Signed-off-by: Oliver Neukum <oneukum@suse.com>
CC: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Oliver Neukum %!s(int64=9) %!d(string=hai) anos
pai
achega
e912e685f3
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      drivers/usb/class/cdc-acm.c

+ 5 - 0
drivers/usb/class/cdc-acm.c

@@ -1841,6 +1841,11 @@ static const struct usb_device_id acm_ids[] = {
 	},
 #endif
 
+	/*Samsung phone in firmware update mode */
+	{ USB_DEVICE(0x04e8, 0x685d),
+	.driver_info = IGNORE_DEVICE,
+	},
+
 	/* Exclude Infineon Flash Loader utility */
 	{ USB_DEVICE(0x058b, 0x0041),
 	.driver_info = IGNORE_DEVICE,