diff options
author | Sebastian Reichel <sebastian.reichel@collabora.co.uk> | 2017-06-30 16:35:03 +0200 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2017-09-05 09:46:00 +0200 |
commit | 45f80a9f78f1bcf87c09ae120a68011efe35128a (patch) | |
tree | 06618ac8184f9bf79dfa9abfea6999396ee837a1 /drivers/mfd/altera-a10sr.c | |
parent | mfd: rtsx: Make arrays depth and cd_mask static const (diff) | |
download | linux-45f80a9f78f1bcf87c09ae120a68011efe35128a.tar.xz linux-45f80a9f78f1bcf87c09ae120a68011efe35128a.zip |
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>
Diffstat (limited to 'drivers/mfd/altera-a10sr.c')
0 files changed, 0 insertions, 0 deletions