mmc: atmel-sdhci: do not check clk_set_rate return value
authorEugen Hristev <eugen.hristev@microchip.com>
Thu, 27 Aug 2020 09:16:15 +0000 (12:16 +0300)
committerEugen Hristev <eugen.hristev@microchip.com>
Fri, 25 Sep 2020 07:39:22 +0000 (10:39 +0300)
commit2e00608ca4cde8b39a92740539a7417814d851b4
tree85451eb47c6f44342d790e29a6992a4f4d8f6e17
parent4cc08258758c4d7f5a624aa99cb2435022def761
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: Eugen Hristev <eugen.hristev@microchip.com>
drivers/mmc/atmel_sdhci.c