You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
net: ravb: Check return value of reset_control_deassert()
reset_control_deassert() could return an error. Some devices cannot work
if reset signal de-assert operation fails. To avoid this check the return
code of reset_control_deassert() in ravb_probe() and take proper action.
Along with it, the free_netdev() call from the error path was moved after
reset_control_assert() on its own label (out_free_netdev) to free
netdev in case reset_control_deassert() fails.
Fixes: 0d13a1a ("ravb: Add reset support")
Reviewed-by: Sergey Shtylyov <[email protected]>
Reviewed-by: Philipp Zabel <[email protected]>
Signed-off-by: Claudiu Beznea <[email protected]>
Signed-off-by: Paolo Abeni <[email protected]>
0 commit comments