commit | 580f4556ab32057a5fecdc04895ac1be70fc39c7 | [log] [tgz] |
---|---|---|
author | Hui Tang <tanghui20@huawei.com> | Mon Nov 14 17:25:40 2022 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Jan 18 09:26:25 2023 +0100 |
tree | 166ee12edc4c65d7a12f79baa7d60bf9b76d5806 | |
parent | 6acf8597c5b04f455ee0649e11e5f3bcd28f381e [diff] |
i2c: pxa-pci: fix missing pci_disable_device() on error in ce4100_i2c_probe [ Upstream commit d78a167332e1ca8113268ed922c1212fd71b73ad ] Using pcim_enable_device() to avoid missing pci_disable_device(). Fixes: 7e94dd154e93 ("i2c-pxa2xx: Add PCI support for PXA I2C controller") Signed-off-by: Hui Tang <tanghui20@huawei.com> Signed-off-by: Wolfram Sang <wsa@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>