commit | 056c19ebe52484e850dd910f289805f93273d1fb | [log] [tgz] |
---|---|---|
author | c.chen <c.chen@exm.com> | Wed Mar 02 19:27:19 2022 -0800 |
committer | c.chen <c.chen@exm.com> | Wed Mar 02 19:27:19 2022 -0800 |
tree | 684d19ea7d8f0374923355b5f050fe94b08b5571 | |
parent | 603a5f4a306ffb3d3cb56854d51257636aa16678 [diff] |
[bugfix]modfiy for sleep Change-Id: If0fab33a6bae66cf60717389b0529edda39e4157
diff --git a/src/kernel/linux/v4.14/drivers/misc/mediatek/usb20/mt2731/usb20.c b/src/kernel/linux/v4.14/drivers/misc/mediatek/usb20/mt2731/usb20.c index 6bcd1f1..4157777 100644 --- a/src/kernel/linux/v4.14/drivers/misc/mediatek/usb20/mt2731/usb20.c +++ b/src/kernel/linux/v4.14/drivers/misc/mediatek/usb20/mt2731/usb20.c
@@ -1510,7 +1510,9 @@ if (!gpio_get_value(musb->wakeup_gpio)) { DBG(0, "low, keep waklock\n"); - pm_stay_awake(musb->controller); + /*++++++modify by chencheng 2022/2/8+++++++*/ + //pm_stay_awake(musb->controller); + /*------modify by chencheng 2022/2/8-------*/ irq_set_irq_type(irq, IRQF_TRIGGER_HIGH); } else { DBG(0, "high, free wakelock\n");