question regarding delay between bus states in EHCI driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Alan,

I have a theoretical question in EHCI driver. We ensure that there is
5 msec window between suspend and next resume by keeping time_before()
check in ehci_bus_resume function. If the next_statechange update in
suspend occur just before the next timer tick (say 1 jiffies = 10
msec), then time_before() return false even when the resume is
initiated <5 msec after suspend. I am not seeing any issue with this.
Just would like to get a clarification from you. should we replace
time_before with time_before_eq?

Thanks,
Pavan

-- 
Sent by a consultant of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
hosted by The Linux Foundation.
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux