[PATCH 29/29][SRU][OEM-5.14] UBUNTU: SAUCE: ljca: disable autosuspend by default

You-Sheng Yang vicamo.yang at canonical.com
Tue Dec 28 06:19:55 UTC 2021


From: Ye Xiang <xiang.ye at intel.com>

BugLink: https://bugs.launchpad.net/bugs/1955383

Because it will cost more than 100ms in PM before calling LJCA
resume when enabling autosuspend, which will make first LJCA transfer
after resume use more than 100ms, we disable autosuspend temporarily.

Signed-off-by: Ye Xiang <xiang.ye at intel.com>
(cherry picked from
https://github.com/intel/ivsc-driver/commit/3cc092e1e2ccee536c5da23a105431bfdd8952d6)
Signed-off-by: You-Sheng Yang <vicamo.yang at canonical.com>
---
 drivers/mfd/ljca.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/mfd/ljca.c b/drivers/mfd/ljca.c
index aace699de53a..621fc048c911 100644
--- a/drivers/mfd/ljca.c
+++ b/drivers/mfd/ljca.c
@@ -1120,7 +1120,6 @@ static int ljca_probe(struct usb_interface *intf,
 		goto error;
 	}
 
-	usb_enable_autosuspend(ljca->udev);
 	ljca->state = LJCA_STARTED;
 	dev_info(&intf->dev, "LJCA USB device init success\n");
 	return 0;
-- 
2.33.1




More information about the kernel-team mailing list