commit | e2888dc4a02ad0d7c2383b873097fe6a1e76db0e | [log] [tgz] |
---|---|---|
author | Claudiu Beznea <claudiu.beznea@microchip.com> | Tue Jan 19 13:26:45 2021 +0200 |
committer | Eugen Hristev <eugen.hristev@microchip.com> | Fri Jan 22 15:09:59 2021 +0200 |
tree | ff56c3d9af9abb125502cd77373ed8c2a6e233a9 | |
parent | dc17aec508f88a0f7919ce1e198b9ae1b60cecdf [diff] |
net: macb: check clk_set_rate return value to be negative clk_set_rate() returns the set rate in case of success and a negative number in case of failure. Consider failure only the negative numbers. Fixes: 3ef64444de157 ("dm: net: macb: Implement link speed change callback") Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>