Skip to content
Commit 2e00608c authored by Eugen Hristev's avatar Eugen Hristev
Browse files

mmc: atmel-sdhci: do not check clk_set_rate return value



clk_set_rate will return rate in case of success and zero in case of
error, however it can also return -ev, but it's an ulong function.
To avoid any issues, disregard the return value of this call.
In case this call actually fails, nothing much we can do anyway, but we
can at least try with the previous values (or DT assigned-clocks)

Signed-off-by: default avatarEugen Hristev <eugen.hristev@microchip.com>
parent 4cc08258
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment