aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller/dwc
diff options
context:
space:
mode:
authorDejin Zheng <zhengdejin5@gmail.com>2021-03-28 22:41:18 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-05-14 09:49:57 +0200
commitcc178b77f8a3ba11ea19f600c65aeff1d1b16ab2 (patch)
tree0052115ef6abdcdafe561fa0ed74609b2da42a63 /drivers/pci/controller/dwc
parent451a3e7570fc404a8a17b3dc9615ad6c79f3ebfc (diff)
downloadkernel_replicant_linux-cc178b77f8a3ba11ea19f600c65aeff1d1b16ab2.tar.gz
kernel_replicant_linux-cc178b77f8a3ba11ea19f600c65aeff1d1b16ab2.tar.bz2
kernel_replicant_linux-cc178b77f8a3ba11ea19f600c65aeff1d1b16ab2.zip
PCI: xgene: Fix cfg resource mapping
commit d4707d79fae08c8996a1ba45965a491045a22dda upstream. In commit e2dcd20b1645 a change was made to use devm_platform_ioremap_resource_byname() to simplify code and remove the res variable; this was wrong since the res variable is still needed and as an outcome the port->cfg_addr gets an erroneous address. Revert the change going back to original behaviour. Link: https://lore.kernel.org/r/20210328144118.305074-1-zhengdejin5@gmail.com Fixes: e2dcd20b1645a ("PCI: controller: Convert to devm_platform_ioremap_resource_byname()") Reported-by: dann.frazier@canonical.com Tested-by: dann frazier <dann.frazier@canonical.com> Signed-off-by: Dejin Zheng <zhengdejin5@gmail.com> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Cc: stable@vger.kernel.org # v5.9+ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/pci/controller/dwc')
0 files changed, 0 insertions, 0 deletions