commit | 3fc8e9a780ad3d51dec12d20c1dd11e7e18dba18 | [log] [tgz] |
---|---|---|
author | Dinghao Liu <dinghao.liu@zju.edu.cn> | Sat May 23 16:08:20 2020 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Jun 07 13:17:57 2020 +0200 |
tree | ede0aa5f0a1519ed680c00800b56741ac396f643 | |
parent | 4ed49848cfcdab164da603d8eec28a3f3c4bc71c [diff] |
net: smsc911x: Fix runtime PM imbalance on error [ Upstream commit 539d39ad0c61b35f69565a037d7586deaf6d6166 ] Remove runtime PM usage counter decrement when the increment function has not been called to keep the counter balanced. Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org>