ilure handling of clock rate setting
* For completeness of usecase, added arc_emac_probe error handling
Signed-off-by: Branislav Radocaj
---
[1] https://marc.info/?l=linux-netdev&m=151301239802445&w=2
---
drivers/net/ethernet/arc/emac_rockchip.c | 10 +++---
1 file changed, 7 ins
If clk_set_rate() fails, we should disable clk before return.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Branislav Radocaj
---
Changes since v2:
* Improved inconsistent failure handling of clock rate setting
* For completeness of usecase, added arc_emac_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
---
drivers/net/ethernet/arc/emac_rockchip.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/drivers/net
If clk_set_rate() fails, we should disable clk
before return.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Branislav Radocaj
---
drivers/net/ethernet/arc/emac_rockchip.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a