Skip to content

Commit

Permalink
RNDIS support (usb thether), CONFIG_ARM_THUMBEE=y
Browse files Browse the repository at this point in the history
  • Loading branch information
Rodderik committed Mar 1, 2011
1 parent 98e056f commit b6b221b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Kernel/arch/arm/configs/victory_03_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ CONFIG_CPU_CP15_MMU=y
# Processor Features
#
CONFIG_ARM_THUMB=y
# CONFIG_ARM_THUMBEE is not set
CONFIG_ARM_THUMBEE=y
# CONFIG_CPU_ICACHE_DISABLE is not set
# CONFIG_CPU_DCACHE_DISABLE is not set
# CONFIG_CPU_BPREDICT_DISABLE is not set
Expand Down
6 changes: 6 additions & 0 deletions Kernel/drivers/usb/gadget/victory/adb_ums_acm_mtp_rndis.c
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,11 @@ static int acm_ums_adb_bind_config(struct usb_configuration *c)
printk("[%s] Fail to adb_function_config_changed()\n", __func__);
return ret;
}
ret = rndis_function_config_changed(dev->cdev, c);
if (ret) {
printk("[%s] Fail to rndis_function_config_changed()\n", __func__);
return ret;
}
return ret;
}

Expand Down Expand Up @@ -550,6 +555,7 @@ static int __init android_bind(struct usb_composite_dev *cdev)
enable_adb(dev, USBSTATUS_ADB);
#endif


INFO(cdev, "%s, version: " DRIVER_VERSION "\n", DRIVER_DESC);

return 0;
Expand Down

0 comments on commit b6b221b

Please sign in to comment.