[ARM] tegra: stingray: Board file support for MTP USB function.
authorMike Lockwood <lockwood@android.com>
Tue, 15 Jun 2010 00:21:39 +0000 (17:21 -0700)
committerColin Cross <ccross@android.com>
Wed, 6 Oct 2010 23:33:08 +0000 (16:33 -0700)
Signed-off-by: Mike Lockwood <lockwood@android.com>
arch/arm/mach-tegra/board-stingray.c

index 633b9555d2955bf1d7d04b27f39fc75d7b0f2cab..1ea0f76e5f262f74df180d5618acb946dfe346e5 100644 (file)
@@ -206,8 +206,8 @@ static struct platform_device tegra_otg = {
        .num_resources = ARRAY_SIZE(tegra_otg_resources),
 };
 
-static char *usb_functions[] = { "usb_mass_storage" };
-static char *usb_functions_adb[] = { "usb_mass_storage", "adb" };
+static char *usb_functions[] = { "mtp" };
+static char *usb_functions_adb[] = { "mtp", "adb" };
 
 static struct android_usb_product usb_products[] = {
        {
@@ -225,7 +225,7 @@ static struct android_usb_product usb_products[] = {
 /* standard android USB platform data */
 static struct android_usb_platform_data andusb_plat = {
        .vendor_id                      = 0x18d1,
-       .product_id                     = 0x0002,
+       .product_id                     = 0xDEAD,
        .manufacturer_name      = "Google",
        .product_name           = "Stingray!",
        .serial_number          = "0000",