diff options
author | Christophe JAILLET <[email protected]> | 2021-06-21 21:46:13 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2021-06-24 15:52:26 +0200 |
commit | a25d144fb883c73506ba384de476bbaff8220a95 (patch) | |
tree | d544e573fefc07193c6efdb20a7139ade6a03b57 /drivers/misc/ibmasm/module.c | |
parent | 02b49cd1174527e611768fc2ce0f75a74dfec7ae (diff) |
bus: mhi: pci-generic: Add missing 'pci_disable_pcie_error_reporting()' calls
If an error occurs after a 'pci_enable_pcie_error_reporting()' call, it
must be undone by a corresponding 'pci_disable_pcie_error_reporting()'
call
Add the missing call in the error handling path of the probe and in the
remove function.
Cc: <[email protected]>
Fixes: b012ee6bfe2a ("mhi: pci_generic: Add PCI error handlers")
Signed-off-by: Christophe JAILLET <[email protected]>
Reviewed-by: Manivannan Sadhasivam <[email protected]>
Link: https://lore.kernel.org/r/f70c14701f4922d67e717633c91b6c481b59f298.1623445348.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Manivannan Sadhasivam <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/misc/ibmasm/module.c')
0 files changed, 0 insertions, 0 deletions