diff options
author | Mykola Kostenok <c_mykolak@mellanox.com> | 2017-07-17 12:00:35 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2017-07-23 12:02:40 +0100 |
commit | 737cc2a593782df6846b3cab7e0f64384f58364a (patch) | |
tree | fb69bf2503545ac7c43fc0cc045b902248ddbff0 /drivers/iio/accel | |
parent | e59e18989c68a8d7941005f81ad6abc4ca682de0 (diff) |
iio: aspeed-adc: wait for initial sequence.
This patch enables adc engine at initialization time and waits
for the initial sequence completion before enabling adc channels.
Without this code adc channels are not functional and shows
zeros for all connected channels.
Tested on mellanox msn platform.
v1 -> v2:
Pointed by Rick Altherr:
- Wait init sequence code enabled by bool
from OF match table.
Signed-off-by: Mykola Kostenok <c_mykolak@mellanox.com>
Reviewed-by: Rick Altherr <raltherr@google.com>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/accel')
0 files changed, 0 insertions, 0 deletions