Re: [PATCH -next] ptp: ocp: Fix missing pci_disable_device() on error in ptp_ocp_probe()

From: Jonathan Lemon
Date: Wed Aug 11 2021 - 14:44:38 EST


On Tue, Aug 10, 2021 at 08:54:53PM +0800, Yang Yingliang wrote:
> If ptp_ocp_device_init() fails, pci_disable_device() need be
> called, fix this by using pcim_enable_device().

I just posted an alternate patch to address this.
--
Jonathan