Skip to content
Commit d78a1673 authored by Hui Tang's avatar Hui Tang Committed by Wolfram Sang
Browse files

i2c: pxa-pci: fix missing pci_disable_device() on error in ce4100_i2c_probe

Using pcim_enable_device() to avoid missing pci_disable_device().

Fixes: 7e94dd15

 ("i2c-pxa2xx: Add PCI support for PXA I2C controller")
Signed-off-by: default avatarHui Tang <tanghui20@huawei.com>
Signed-off-by: default avatarWolfram Sang <wsa@kernel.org>
parent 87ab7269
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment