WSL2-Linux-Kernel/drivers/staging/mt7621-pci
Sergio Paracuellos 4bc0659d71 staging: mt7621-pci: avoid to set 'iomem_resource' addresses
Setting up kernel resource 'iomem_resource' for PCI with
addresses parsed from device tree gots into a conflict within
the usb xhci driver:

xhci-mtk 1e1c0000.xhci: can't request region for resource [mem 0x1e1c0000-0x1e1c0fff]
xhci-mtk: probe of 1e1c0000.xhci failed with error -16

Don't assign it and maintain the default addresses for this
resource seems to fix the problem. Checking legacy driver it
is being only  setting the 'ioport_resource'.

Fixes: 09dd629eea ("staging: mt7621-pci: fix io space and properly set resource limits")
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Link: https://lore.kernel.org/r/20200322072128.4454-1-sergio.paracuellos@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-03-23 11:41:02 +01:00
..
Kconfig MIPS: ralink: enable PCI support only if driver for mt7621 SoC is selected 2019-11-14 13:09:37 +08:00
Makefile staging: add missing SPDX lines to Makefile files 2019-04-03 11:10:15 +02:00
TODO staging: mt7621-pci: update driver's TODO file 2019-02-11 10:02:50 +01:00
mediatek,mt7621-pci.txt staging: mt7621-pci: bindings: update doc accordly to last changes 2020-03-17 12:53:07 +01:00
pci-mt7621.c staging: mt7621-pci: avoid to set 'iomem_resource' addresses 2020-03-23 11:41:02 +01:00