]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
PCI: rzg3s-host: Fix reset handling in probe error path
authorJohn Madieu <john.madieu.xa@bp.renesas.com>
Fri, 6 Mar 2026 14:34:08 +0000 (15:34 +0100)
committerManivannan Sadhasivam <mani@kernel.org>
Sun, 15 Mar 2026 15:28:14 +0000 (20:58 +0530)
commitd284389d4576e7c8040dc4cbb66876e539c6d064
tree0bfc45045964910dc0ffae30daaecb9e1bfc29fe
parent6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f
PCI: rzg3s-host: Fix reset handling in probe error path

Fix incorrect reset_control_bulk_deassert() call in the probe error
path. When unwinding from a failed pci_host_probe(), the configuration
resets should be asserted to restore the hardware to its initial state,
not deasserted again.

Fixes: 7ef502fb35b2 ("PCI: Add Renesas RZ/G3S host controller driver")
Signed-off-by: John Madieu <john.madieu.xa@bp.renesas.com>
Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>
Tested-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> # RZ/V2N EVK
Tested-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Reviewed-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Link: https://patch.msgid.link/20260306143423.19562-2-john.madieu.xa@bp.renesas.com
drivers/pci/controller/pcie-rzg3s-host.c