diff options
author | Angelo Dureghello <adureghello@baylibre.com> | 2025-04-09 11:16:54 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2025-05-07 19:40:38 +0100 |
commit | 921fece3268c3bf2e8c20dd17ff9e5454fa16fda (patch) | |
tree | cb982229f6b2f385fbc7cb4ee0e4862b352da5d1 /scripts/lib/kdoc/kdoc_parser.py | |
parent | 89944d88f8795c6c89b9514cb365998145511cd4 (diff) |
iio: dac: adi-axi-dac: fix bus read
Fix bus read function.
Testing the driver, on a random basis, wrong reads was detected, mainly
by a wrong DAC chip ID read at first boot.
Before reading the expected value from the AXI regmap, need always to
wait for busy flag to be cleared.
Fixes: e61d7178429a ("iio: dac: adi-axi-dac: extend features")
Signed-off-by: Angelo Dureghello <adureghello@baylibre.com>
Reviewed-by: Nuno Sá <nuno.sa@analog.com>
Link: https://patch.msgid.link/20250409-ad3552r-fix-bus-read-v2-1-34d3b21e8ca0@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions