summaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/manifest.c
diff options
context:
space:
mode:
authorJohan Hovold <johan@hovoldconsulting.com>2015-11-21 10:52:02 +0100
committerGreg Kroah-Hartman <gregkh@google.com>2015-11-21 17:15:35 -0800
commitf65fa47f28f303c84b701dadda6d4f48fb541691 (patch)
treeff2bb4f2f7dba52d71eb4fd8d6ca15e4e84bbffa /drivers/staging/greybus/manifest.c
parent8034bd561dac0c6616097394ba9b5eaee3c4fc9c (diff)
downloadop-kernel-dev-f65fa47f28f303c84b701dadda6d4f48fb541691.zip
op-kernel-dev-f65fa47f28f303c84b701dadda6d4f48fb541691.tar.gz
greybus: fix vendor and product matching
Fix vendor and product matching by matching on the 32-bit Ara vendor and product ids. Remove the "fake" 16-bit vendor and product ids and export the Ara ids using the "vendor" and "product" interface attributes instead. Signed-off-by: Johan Hovold <johan@hovoldconsulting.com> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/manifest.c')
-rw-r--r--drivers/staging/greybus/manifest.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/staging/greybus/manifest.c b/drivers/staging/greybus/manifest.c
index 4b4dd99..c80a849 100644
--- a/drivers/staging/greybus/manifest.c
+++ b/drivers/staging/greybus/manifest.c
@@ -392,11 +392,6 @@ static bool gb_manifest_parse_interface(struct gb_interface *intf,
if (IS_ERR(intf->product_string))
goto out_free_vendor_string;
- // FIXME
- // Vendor, Product and Unique id must come via control protocol
- intf->vendor = 0xffff;
- intf->product = 0x0001;
-
/* Release the interface descriptor, now that we're done with it */
release_manifest_descriptor(interface_desc);
OpenPOWER on IntegriCloud