]> git.baikalelectronics.ru Git - kernel.git/commit
staging: mt7621-pci: fix register to set up virtual bridges
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Thu, 19 Mar 2020 09:57:33 +0000 (10:57 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Mar 2020 14:13:41 +0000 (15:13 +0100)
commit2707acbaeb28d0722f5f23ecc8321c909e88d1ac
treed9606ed6843342b67ee6ce48879ce06fed99c670
parentc1888335ae624c61fb11d59ce16322f1e4e80800
staging: mt7621-pci: fix register to set up virtual bridges

Instead of being using PCI Configuration and Status Register to
set up virtual bridges we are using CONFIG_ADDR Register which is
wrong. Hence, set the correct value.

Fixes: 26cdc6af4a5a ("staging: mt7621-pci: simplify 'mt7621_pcie_init_virtual_bridges' function")
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Link: https://lore.kernel.org/r/20200319095733.1557-1-sergio.paracuellos@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/mt7621-pci/pci-mt7621.c