]> git.itanic.dy.fi Git - linux-stable/commit
staging: mt7621-pci: set end limit for 'ioport_resource'
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Sun, 22 Aug 2021 16:10:05 +0000 (18:10 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 Sep 2021 15:31:13 +0000 (17:31 +0200)
commit50fb34eca2944fd67493717c9fbda125336f1655
tree7d781b43fdc41c87bb84866e3075a16712542ca6
parent159697474db41732ef3b6c2e8d9395f09d1f659e
staging: mt7621-pci: set end limit for 'ioport_resource'

We have increase IO_SPACE_LIMIT for ralink platform to get PCI IO resources
properly handled using PCI core APIs. To align those changes with driver
code we have to set 'ioport_resource' end limit to IO_SPACE_LIMIT to avoid
errors.

Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Link: https://lore.kernel.org/r/20210822161005.22467-4-sergio.paracuellos@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/mt7621-pci/pci-mt7621.c