Skip to content
Commit 9d7e93a7 authored by Dinghao Liu's avatar Dinghao Liu Committed by Paul Gortmaker
Browse files

net: smsc911x: Fix runtime PM imbalance on error



commit 539d39ad upstream.

Remove runtime PM usage counter decrement when the
increment function has not been called to keep the
counter balanced.

Signed-off-by: default avatarDinghao Liu <dinghao.liu@zju.edu.cn>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
parent 348f2742
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment