pmaports/device/linux-htc-protou/fix_otg_errors.patch

15 lines
460 B
Diff
Raw Normal View History

diff --git a/drivers/usb/otg/msm72k_otg.c b/drivers/usb/otg/msm72k_otg.c
--- a/drivers/usb/otg/msm72k_otg.c
+++ b/drivers/usb/otg/msm72k_otg.c
@@ -2029,10 +2029,6 @@ static void msm_otg_sm_work(struct work_struct *w)
queue_work(dev->wq, &dev->notifier_work);
}
- if (check_htc_mode_status() != NOT_ON_AUTOBOT) {
- htc_mode_enable(0);
- android_switch_default();
- }
dev->ac_detect_count = 0;
del_timer(&dev->ac_detect_timer);