Nuno Sa 955c824d54 iio: adc: axi-adc: make sure AXI clock is enabled
commit 80721776c5af6f6dce7d84ba8df063957aa425a2 upstream.

We can only access the IP core registers if the bus clock is enabled. As
such we need to get and enable it and not rely on anyone else to do it.

Note this clock is a very fundamental one that is typically enabled
pretty early during boot. Independently of that, we should really rely on
it to be enabled.

Fixes: ef04070692a2 ("iio: adc: adi-axi-adc: add support for AXI ADC IP core")
Signed-off-by: Nuno Sa <nuno.sa@analog.com>
Link: https://lore.kernel.org/r/20240426-ad9467-new-features-v2-4-6361fc3ba1cc@analog.com
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-06-21 14:38:42 +02:00
..
2023-02-18 17:06:09 +00:00
2022-07-16 18:50:24 +01:00
2024-06-21 14:38:37 +02:00
2022-12-30 18:05:16 +00:00
2023-08-13 22:14:51 +02:00
2022-09-05 18:08:34 +01:00
2023-05-30 21:07:15 +01:00