Skip to content
Commit 1ddd7c6c authored by Yang Yingliang's avatar Yang Yingliang Committed by Yongxin Liu
Browse files

net: stmmac: fix missing unlock on error in stmmac_suspend()



commit 30f347ae upstream.

Add the missing unlock before return from stmmac_suspend()
in the error handling case.

Fixes: 5ec55823 ("net: stmmac: add clocks management for gmac driver")
Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarYongxin Liu <yongxin.liu@windriver.com>
parent 01bb5848
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment