]> rtime.felk.cvut.cz Git - lisovros/linux_canprio.git/commitdiff
USB: gadget: g_ffs: fixed vendor and product ID
authorMichal Nazarewicz <m.nazarewicz@samsung.com>
Thu, 12 Aug 2010 15:43:45 +0000 (17:43 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 22 Nov 2010 19:03:08 +0000 (11:03 -0800)
commit ba0534be935d7b24e5fdd6f82c443ee75abc9149 upstream.

This patch fixes the vendor and product ID the gadget uses
by replacing the temporary IDs that were used during
development (which should never get into mainline) with
proper IDs.

Signed-off-by: Michal Nazarewicz <m.nazarewicz@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/g_ffs.c

index a9474f8d5325520d728cce52314a39cb91669185..3c2f0a43c9c6755b732959ac07fdbbbdb5544e6a 100644 (file)
@@ -53,8 +53,8 @@ MODULE_AUTHOR("Michal Nazarewicz");
 MODULE_LICENSE("GPL");
 
 
-static unsigned short gfs_vendor_id    = 0x0525;       /* XXX NetChip */
-static unsigned short gfs_product_id   = 0xa4ac;       /* XXX */
+static unsigned short gfs_vendor_id    = 0x1d6b;       /* Linux Foundation */
+static unsigned short gfs_product_id   = 0x0105;       /* FunctionFS Gadget */
 
 static struct usb_device_descriptor gfs_dev_desc = {
        .bLength                = sizeof gfs_dev_desc,