msm: ep_pcie: Avoid releasing resources if pcie-perst-enum is set
When link is not up during the enumeration, enumeration fails
and the driver releases resources, disables Perst IRQ. If the
ep_pcie gets a Perst de assertion after this it is not handled,
as Perst IRQ is disabled.
Here, avoiding disabling of Perst IRQ, De-initializing of GPIOs
and making the base addresses of various resources as NULL, if
pcie-perst-enum is set in device tree. This ensures that the
enumeration is done as part of the subsequent Perst de assertion
events.
Change-Id: If5d8ce08031d089b1477d93a2125e3fe0fc97942
Signed-off-by:
Sai Chaitanya Kaveti <quic_skaveti@quicinc.com>
Loading
Please register or sign in to comment