diff options
author | Branislav Radocaj <branislav@radocaj.org> | 2017-12-07 02:07:38 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-12-07 21:51:09 +0300 |
commit | e46772a6946a7d1f3fbbc1415871851d6651f1d4 (patch) | |
tree | 28c78ec43830de6dba6532ecd8d4c99646eb621b /net | |
parent | 589bf32f09852041fbd3b7ce1a9e703f95c230ba (diff) | |
download | linux-e46772a6946a7d1f3fbbc1415871851d6651f1d4.tar.xz |
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).
Signed-off-by: Branislav Radocaj <branislav@radocaj.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions