Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 4d4bd006 authored by Hemant Kumar's avatar Hemant Kumar Committed by Stephen Boyd
Browse files

usb: serial: Add a check for current autosuspend-delay expiration



Upon autosuspend-delay expiration for the device, runtime pm thread
initiates run time suspend after checking device's power.last_busy
time. There is a possibility of race condition between this check
and device interface driver updating power.last_busy time which
results in interface suspend in the middle of ongoing transfer
on that interface.

CRs-Fixed: 381765
Change-Id: I1fc4f8d9d9e83ef3ef6c564ee76294a703230fad
Signed-off-by: default avatarHemant Kumar <hemantk@codeaurora.org>
parent 20b52dcb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment