commit | 2f523cd4a9311cba629facc7d353eabbd492bd5b | [log] [tgz] |
---|---|---|
author | Dinghao Liu <dinghao.liu@zju.edu.cn> | Mon Apr 12 13:49:07 2021 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Jun 16 12:01:35 2021 +0200 |
tree | 99cb9e857f36079605bb2486b39883363d789040 | |
parent | 1e5cab50208c8fb7351b798cb1d569debfeb994a [diff] |
usb: cdns3: Fix runtime PM imbalance on error [ Upstream commit 07adc0225484fc199e3dc15ec889f75f498c4fca ] When cdns3_gadget_start() fails, a pairing PM usage counter decrement is needed to keep the counter balanced. Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn> Link: https://lore.kernel.org/r/20210412054908.7975-1-dinghao.liu@zju.edu.cn Signed-off-by: Peter Chen <peter.chen@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>