diff options
author | Branislav Radocaj <branislav@radocaj.org> | 2017-12-12 00:13:38 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-12-13 13:57:06 -0500 |
commit | 2a9ee696c72a24d63529c76483fcd92d04b1d2b7 (patch) | |
tree | ca8c58b979b0915b10533843f907f651027eafd4 /Kconfig | |
parent | aceef61ee56898cfa7b6960fb60b9326c3860441 (diff) | |
download | linux-2a9ee696c72a24d63529c76483fcd92d04b1d2b7.tar.bz2 |
net: ethernet: arc: fix error handling in emac_rockchip_probe
If clk_set_rate() fails, we should disable clk before return.
Found by Linux Driver Verification project (linuxtesting.org).
Changes since v2 [1]:
* Merged with latest code changes
Changes since v1:
Update made thanks to David's review, much appreciated David.
* Improved inconsistent failure handling of clock rate setting
* For completeness of usecase, added arc_emac_probe error handling
Signed-off-by: Branislav Radocaj <branislav@radocaj.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions