]> git.ipfire.org Git - thirdparty/linux.git/commit
iio: dac: adi-axi-dac: modify stream enable
authorAngelo Dureghello <adureghello@baylibre.com>
Tue, 14 Jan 2025 15:30:12 +0000 (16:30 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 3 Feb 2025 19:15:38 +0000 (19:15 +0000)
commit6cc60bc38e8428544f8f4f12ddb6cc05fc83a7da
tree20131c80b451322ebba79185829651aeb569d47a
parent32f80e203401da168826a023d667918b936f85a8
iio: dac: adi-axi-dac: modify stream enable

Change suggested from the AXI HDL team, modify the function
axi_dac_data_stream_enable() to check for interface busy, to avoid
possible issues when starting the stream.

Fixes: e61d7178429a ("iio: dac: adi-axi-dac: extend features")
Reviewed-by: Nuno Sa <nuno.sa@analog.com>
Signed-off-by: Angelo Dureghello <adureghello@baylibre.com>
Link: https://patch.msgid.link/20250114-wip-bl-ad3552r-axi-v0-iio-testing-carlos-v4-3-979402e33545@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/dac/adi-axi-dac.c