diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2015-04-28 19:51:37 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2015-05-01 21:08:05 +0200 |
commit | 8a5286ed2a0a7d394817a63ae37ae54608a4d3b4 (patch) | |
tree | b2d13068a832d6a73eaca804eb5eb388c72d5540 /drivers/staging/greybus/manifest.c | |
parent | 22fd2a8ade59bb97f0a64282ba5b3903ba3e9e89 (diff) | |
download | linux-8a5286ed2a0a7d394817a63ae37ae54608a4d3b4.tar.bz2 |
greybus: manifest: Remove vendor, product and unique-id from interface descriptor
These should come from control protocol instead.
For now, initialize this statically with a FIXME to not forget it later.
Reviewed-by: Alex Elder <elder@linaro.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/manifest.c')
-rw-r--r-- | drivers/staging/greybus/manifest.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/staging/greybus/manifest.c b/drivers/staging/greybus/manifest.c index 2346ead2a977..de234d2386f6 100644 --- a/drivers/staging/greybus/manifest.c +++ b/drivers/staging/greybus/manifest.c @@ -304,9 +304,11 @@ static bool gb_manifest_parse_interface(struct gb_interface *intf, goto out_free_vendor_string; } - intf->vendor = le16_to_cpu(desc_intf->vendor); - intf->product = le16_to_cpu(desc_intf->product); - intf->unique_id = le64_to_cpu(desc_intf->unique_id); + // FIXME + // Vendor, Product and Unique id must come via control protocol + intf->vendor = 0xffff; + intf->product = 0x0001; + intf->unique_id = 0; /* Release the interface descriptor, now that we're done with it */ release_manifest_descriptor(interface_desc); |