commit | 8149069db81853570a665f5e5648c0e526dc0e43 | [log] [tgz] |
---|---|---|
author | Pan Bian <bianpan2016@163.com> | Wed Apr 17 17:41:23 2019 +0800 |
committer | Kalle Valo <kvalo@codeaurora.org> | Thu Apr 25 19:56:56 2019 +0300 |
tree | d5c4f4398cc94e0b3bc6641211c6a3f42d8331a8 | |
parent | 84242b82d81c54e009a2aaa74d3d9eff70babf56 [diff] |
p54: drop device reference count if fails to enable device The function p54p_probe takes an extra reference count of the PCI device. However, the extra reference count is not dropped when it fails to enable the PCI device. This patch fixes the bug. Cc: stable@vger.kernel.org Signed-off-by: Pan Bian <bianpan2016@163.com> Acked-by: Christian Lamparter <chunkeey@gmail.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>