commit | 2e00608ca4cde8b39a92740539a7417814d851b4 | [log] [tgz] |
---|---|---|
author | Eugen Hristev <eugen.hristev@microchip.com> | Thu Aug 27 12:16:15 2020 +0300 |
committer | Eugen Hristev <eugen.hristev@microchip.com> | Fri Sep 25 10:39:22 2020 +0300 |
tree | 85451eb47c6f44342d790e29a6992a4f4d8f6e17 | |
parent | 4cc08258758c4d7f5a624aa99cb2435022def761 [diff] |
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>