summaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/es2.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@google.com>2015-10-22 16:40:41 -0700
committerGreg Kroah-Hartman <gregkh@google.com>2015-10-22 17:51:10 -0700
commit8f0a654f38c8008b7156c6efbb59272ed474930e (patch)
tree38b946947e884a477b826e154da2a2442e17df9b /drivers/staging/greybus/es2.c
parent76be20a2f39d3b08bdf9b653419fbd367920e856 (diff)
downloadop-kernel-dev-8f0a654f38c8008b7156c6efbb59272ed474930e.zip
op-kernel-dev-8f0a654f38c8008b7156c6efbb59272ed474930e.tar.gz
greybus: es2: use official USB vendor/device id
We now have an officially assigned Google USB device id for the APBridge, so add in support for it in the es2 driver. The old entry can be removed once the firmware has caught up and uses the new number. We should use the version field to determine ES1/ES2/ES3, but that will come later, for now, grab anything with this device id. Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/es2.c')
-rw-r--r--drivers/staging/greybus/es2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/greybus/es2.c b/drivers/staging/greybus/es2.c
index f947983..7b4ff46 100644
--- a/drivers/staging/greybus/es2.c
+++ b/drivers/staging/greybus/es2.c
@@ -22,8 +22,8 @@
#define ES1_GBUF_MSG_SIZE_MAX 2048
static const struct usb_device_id id_table[] = {
- /* Made up numbers for the SVC USB Bridge in ES2 */
- { USB_DEVICE(0xffff, 0x0002) },
+ { USB_DEVICE(0xffff, 0x0002) }, /* Made up number, delete once firmware is fixed to use real number */
+ { USB_DEVICE(0x18d1, 0x1eaf) },
{ },
};
MODULE_DEVICE_TABLE(usb, id_table);
OpenPOWER on IntegriCloud