mirror of
https://github.com/torvalds/linux.git
synced 2026-11-28 01:13:11 +00:00
On SDM845 one of PCIe PHYs (the QHP one) has the same region for TX and RX registers. Since the commit4be26f695f("phy: qcom-qmp-pcie: fix memleak on probe deferral") added checking that resources are not allocated beforehand, this PHY can not be probed anymore. Fix this by skipping the map of ->rx resource on the QHP PHY and assign it manually. Fixes:4be26f695f("phy: qcom-qmp-pcie: fix memleak on probe deferral") Signed-off-by: Dmitry Baryshkov <[email protected]> Reviewed-by: Johan Hovold <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>