OpenCloudOS-Kernel/drivers/staging/mt7621-pci
Ilya Lipnitskiy 426ceac431 staging: mt7621-pci: stop using of_pci_range_to_resource
The logic here was already overriding the erroneous IO addresses
returned from of_pci_range_to_resource, which is the bulk of the logic.

So stop using it altogether and initialize the fields explicitly, as
done in aeba3731b1 ("powerpc/pci: Fix IO space breakage after
of_pci_range_to_resource() change").

Cc: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Reviewed-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
Link: https://lore.kernel.org/r/20210410173331.57949-1-ilya.lipnitskiy@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-04-11 08:43:48 +02: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 TODO file 2020-09-13 09:26:18 +02: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: stop using of_pci_range_to_resource 2021-04-11 08:43:48 +02:00