forked from mirrors/linux
		
	usb: cdc-acm: Add DISABLE_ECHO for Renesas USB Download mode
Renesas R-Car and RZ/G SoCs have a firmware download mode over USB. However, on reset a banner string is transmitted out which is not expected to be echoed back and will corrupt the protocol. Cc: stable <stable@vger.kernel.org> Acked-by: Oliver Neukum <oneukum@suse.com> Signed-off-by: Chris Brandt <chris.brandt@renesas.com> Link: https://lore.kernel.org/r/20201111131209.3977903-1-chris.brandt@renesas.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
		
							parent
							
								
									4df694a477
								
							
						
					
					
						commit
						6d853c9e41
					
				
					 1 changed files with 9 additions and 0 deletions
				
			
		|  | @ -1693,6 +1693,15 @@ static const struct usb_device_id acm_ids[] = { | ||||||
| 	{ USB_DEVICE(0x0870, 0x0001), /* Metricom GS Modem */ | 	{ USB_DEVICE(0x0870, 0x0001), /* Metricom GS Modem */ | ||||||
| 	.driver_info = NO_UNION_NORMAL, /* has no union descriptor */ | 	.driver_info = NO_UNION_NORMAL, /* has no union descriptor */ | ||||||
| 	}, | 	}, | ||||||
|  | 	{ USB_DEVICE(0x045b, 0x023c),	/* Renesas USB Download mode */ | ||||||
|  | 	.driver_info = DISABLE_ECHO,	/* Don't echo banner */ | ||||||
|  | 	}, | ||||||
|  | 	{ USB_DEVICE(0x045b, 0x0248),	/* Renesas USB Download mode */ | ||||||
|  | 	.driver_info = DISABLE_ECHO,	/* Don't echo banner */ | ||||||
|  | 	}, | ||||||
|  | 	{ USB_DEVICE(0x045b, 0x024D),	/* Renesas USB Download mode */ | ||||||
|  | 	.driver_info = DISABLE_ECHO,	/* Don't echo banner */ | ||||||
|  | 	}, | ||||||
| 	{ USB_DEVICE(0x0e8d, 0x0003), /* FIREFLY, MediaTek Inc; andrey.arapov@gmail.com */ | 	{ USB_DEVICE(0x0e8d, 0x0003), /* FIREFLY, MediaTek Inc; andrey.arapov@gmail.com */ | ||||||
| 	.driver_info = NO_UNION_NORMAL, /* has no union descriptor */ | 	.driver_info = NO_UNION_NORMAL, /* has no union descriptor */ | ||||||
| 	}, | 	}, | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue
	
	 Chris Brandt
						Chris Brandt