drivers: usb: add usb pid for dfu
Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com> Change-Id: Id823187c0b74fe99c4fdff7fdb85f6d995ed9d28
This commit is contained in:
parent
9c5e2f1dbb
commit
ca42250799
|
|
@ -87,6 +87,10 @@ int g_dnl_bind_fixup(struct usb_device_descriptor *dev, const char *name)
|
|||
/* Fix to Google's VID and PID */
|
||||
dev->idVendor = __constant_cpu_to_le16(0x18d1);
|
||||
dev->idProduct = __constant_cpu_to_le16(0xd00d);
|
||||
} else if (!strncmp(name, "usb_dnl_dfu", 11)) {
|
||||
/* Fix to Rockchip's VID and PID for DFU */
|
||||
dev->idVendor = cpu_to_le16(0x2207);
|
||||
dev->idProduct = cpu_to_le16(0x0107);
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Reference in New Issue