commit | 45f80a9f78f1bcf87c09ae120a68011efe35128a | [log] [tgz] |
---|---|---|
author | Sebastian Reichel <sebastian.reichel@collabora.co.uk> | Fri Jun 30 16:35:03 2017 +0200 |
committer | Lee Jones <lee.jones@linaro.org> | Tue Sep 05 08:46:00 2017 +0100 |
tree | 06618ac8184f9bf79dfa9abfea6999396ee837a1 | |
parent | e26ae3660b9ca2d180131670ae5388580dcf19b3 [diff] |
mfd: da9052: Fix manual ADC read after timed out read It is possible that under heavy system load, the counter in the completion struct, used for waiting for end of AD conversion, gets incremented twice. To make sure the driver recovers from this situation, the completion struct should be reinitialized. Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk> Signed-off-by: Lee Jones <lee.jones@linaro.org>