diff options
author | 2024-06-21 16:37:14 +0200 | |
---|---|---|
committer | 2024-06-22 16:13:19 +0200 | |
commit | f01af3022d4a46362c5dda3d35dea939f3246d10 (patch) | |
tree | 5f20ab3e42e5e7e9b957de802d59b3623a7ec5a1 /scripts/generate_rust_analyzer.py | |
parent | pwm: stm32: Fix calculation of prescaler (diff) | |
download | linux-rng-f01af3022d4a46362c5dda3d35dea939f3246d10.tar.xz linux-rng-f01af3022d4a46362c5dda3d35dea939f3246d10.zip |
pwm: stm32: Fix error message to not describe the previous error path
"Failed to lock the clock" is an appropriate error message for
clk_rate_exclusive_get() failing, but not for the clock running too
fast for the driver's calculations.
Adapt the error message accordingly.
Fixes: d44d635635a7 ("pwm: stm32: Fix for settings using period > UINT32_MAX")
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
Link: https://lore.kernel.org/r/285182163211203fc823a65b180761f46e828dcb.1718979150.git.u.kleine-koenig@baylibre.com
Signed-off-by: Uwe Kleine-König <ukleinek@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions