OpenCloudOS-Kernel/drivers/staging/mt7621-pci
Sergio Paracuellos 8b20408a56 staging: mt7621-pci: reverse condition to check for enabled port
Each enabled port is being checked in 'mt7621_pcie_enable_ports"
function calling 'mt7621_pcie_enable_port'. The return value for
this function on success is zero, so the check is reversed. Fix it.

Fixes: 802a2f7b2fe3: staging: mt7621-pci: factor out 'mt7621_pcie_enable_port' function
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-02-19 11:14:14 +01:00
..
Kconfig staging: mt7621-pci: use generic kernel pci subsystem read and write 2018-08-08 14:08:40 +02:00
Makefile staging: Mediatek: Use individual config flags in Makefile 2019-01-18 11:01:02 +01: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: dt-bindings: update bindings doc removing sysctls registers 2018-11-26 20:59:05 +01:00
pci-mt7621.c staging: mt7621-pci: reverse condition to check for enabled port 2019-02-19 11:14:14 +01:00