diff options
author | Petlozu Pravareshwar <petlozup@nvidia.com> | 2014-04-11 16:59:13 +0530 |
---|---|---|
committer | Petlozu Pravareshwar <petlozup@nvidia.com> | 2014-04-13 23:24:12 -0700 |
commit | 4fac6d6c34ed9b04b914f3968e7d1b18fd259fc7 (patch) | |
tree | 5421a8308ba1f13b28ff884e0b416c2fbbf2f93b | |
parent | 4284d192d988fdd7b0cb447213b1ead7210b8d29 (diff) |
usb: gadget: keep udc alive on non-std charger det
The non-std charger could also be a self-powered
hub(which is not yet connected to any host).
If we stop controller here, tegra can't detect
the host through this self-powered hub.
Bug 1458990
Change-Id: Ifd4aeae65304acf724098b452899dd5c5a8aac62
Signed-off-by: Petlozu Pravareshwar <petlozup@nvidia.com>
Reviewed-on: http://git-master/r/395217
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Rakesh Babu Bodla <rbodla@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
-rw-r--r-- | drivers/usb/gadget/tegra_udc.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/gadget/tegra_udc.c b/drivers/usb/gadget/tegra_udc.c index 14ae891873ac..d54f21cb59ce 100644 --- a/drivers/usb/gadget/tegra_udc.c +++ b/drivers/usb/gadget/tegra_udc.c @@ -2477,7 +2477,6 @@ static void tegra_udc_non_std_charger_detect_work(struct work_struct *work) non_std_charger_work.work); DBG("%s(%d) BEGIN\n", __func__, __LINE__); - dr_controller_stop(udc); tegra_udc_set_charger_type(udc, CONNECT_TYPE_NON_STANDARD_CHARGER); tegra_usb_set_charging_current(udc); |