hwmon: (axi-fan-control) Make sure the clock is enabled
authorNuno Sá <nuno.sa@analog.com>
Wed, 11 Aug 2021 11:48:51 +0000 (13:48 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 17 Aug 2021 21:54:26 +0000 (14:54 -0700)
commita3933625de28e730c7822d2b14f896125577abe8
treeb89f0ddeb4cc7ee8367553f34e7a0606e88c7c5d
parent76b72736f574ec38b3e94603ea5f74b1853f26b0
hwmon: (axi-fan-control) Make sure the clock is enabled

The core will only work if it's clock is enabled. This patch is a
minor enhancement to make sure that's the case.

Signed-off-by: Nuno Sá <nuno.sa@analog.com>
Link: https://lore.kernel.org/r/20210811114853.159298-2-nuno.sa@analog.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/axi-fan-control.c