28f0e5d4e1
Changes in the kernel defconfig: - disable ANDROID_PARANOID_NETWORK (removes network restrictions) - enable CONFIG_USB_G_ANDROID and CONFIG_DIAG_CHAR (for USB networking) - enable DEVTMPFS (needed for udev -> touch support in weston) - enable FB_MSM_DEFAULT_DEPTH_RGB565 (for 16-bit support to avoid red screen) - enable SYSVIPC (so busybox' syslogd can log to a ringbuffer in the kernel) - enable VT (for virtual terminal over USB) [ci:skip-build]: already built successfully in CI
14 lines
460 B
Diff
14 lines
460 B
Diff
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);
|
|
|