diff options
| author | Jack Pham <jackp@codeaurora.org> | 2018-06-08 10:10:12 -0700 |
|---|---|---|
| committer | Michael Bestas <mkbestas@gmail.com> | 2020-04-18 03:47:15 +0300 |
| commit | 951444b6cd99b6941cf1470cd51df803862b1785 (patch) | |
| tree | 3a1106d103d185340c95558e956564e12dbbdc50 /include/linux | |
| parent | 9b0c939d0a6714818d36e16588a6e0f6a84768f4 (diff) | |
usb: pd: qpnp-pdphy: Switch to hrtimer-based wait
Currently wait_event_interruptible_timeout() is used when
sending a message or hard reset signal to wait for a completion
interrupt. However, the jiffies-based timer is not accurate for
the short timeout durations used (15ms TX, 5ms hard reset) and
can result in timing out too early. Switch to hrtimer-based
wait_event_interruptible_hrtimeout() for better accuracy.
Change-Id: I1c9866114b548ce849ec6002c0eb1362ac9a7786
Signed-off-by: Jack Pham <jackp@codeaurora.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
