| commit | c226717aa8643994103f4fb6a82340d813cc01b7 | [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 11:41:25 2023 +0100 |
| tree | 324e00aa6302227b387937f4f1d06a200d11dae4 | |
| parent | d85b5247a79355b8432bfd9ac871f96117f750d4 [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>