Skip to content

Commit

Permalink
UBUNTU: SAUCE: ljca: disable autosuspend by default
Browse files Browse the repository at this point in the history
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@intel.com>
(cherry picked from
https://github.com/intel/ivsc-driver/commit/3cc092e1e2ccee536c5da23a105431bfdd8952d6)
Signed-off-by: You-Sheng Yang <vicamo.yang@canonical.com>
Signed-off-by: Timo Aaltonen <timo.aaltonen@canonical.com>
  • Loading branch information
Ye Xiang authored and Timo Aaltonen committed Jan 5, 2022
1 parent 054519f commit 0920d58
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/mfd/ljca.c
Original file line number Diff line number Diff line change
@@ -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;

0 comments on commit 0920d58

Please sign in to comment.