Files
Quallenauge 02280f7585 qti-haptics: Prevent deadlock by waiting on a negative remaining time.
The contruct on qti_haptics_upload_effect()
    rem = hrtimer_get_remaining(&chip->hap_disable_timer);
    time_us = ktime_to_us(rem);
leads to negative values. If the followed usleep is called with this value
it wait's an uncomfortable range of time...
Guard this call by an check. After that, multiple runs of the
CtsOsTestCases - android.os.cts.VibratorTest ran without issues.

Change-Id: Ife8f55c3b3ceb8bb35d30fe1448a51ab32e0b904
2024-12-20 06:06:26 +01:00
..
2023-01-07 13:07:00 +01:00
2023-01-07 13:07:00 +01:00
2022-05-12 12:14:53 +02:00
2023-01-07 13:07:00 +01:00
2022-04-20 09:06:42 +02:00
2024-12-20 06:05:01 +01:00
2023-01-07 13:07:00 +01:00
2024-12-20 06:05:14 +01:00
2022-04-21 14:01:02 +02:00