diff options
author | Wang Hai <[email protected]> | 2020-07-17 10:50:49 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-07-21 18:31:46 -0700 |
commit | 1264d7fa3a64d8bea7aebb77253f917947ffda25 (patch) | |
tree | 19980c1ed2407dc95d6bee9a31b80660c703d3f9 /lib/mpi/mpi-bit.c | |
parent | 8fdcabeac39824fe67480fd9508d80161c541854 (diff) |
net: ethernet: ave: Fix error returns in ave_init
When regmap_update_bits failed in ave_init(), calls of the functions
reset_control_assert() and clk_disable_unprepare() were missed.
Add goto out_reset_assert to do this.
Fixes: 57878f2f4697 ("net: ethernet: ave: add support for phy-mode setting of system controller")
Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Wang Hai <[email protected]>
Reviewed-by: Kunihiko Hayashi <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions