PCI: rockchip: Correct the use of FTS mask
authorBrian Norris <briannorris@chromium.org>
Wed, 7 Dec 2016 21:06:00 +0000 (15:06 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 7 Dec 2016 21:06:00 +0000 (15:06 -0600)
commita45e2611b9bbd81288d97d02ce7e74a60a698d43
tree89a8602cb35cf0da9ea7e7590bf5485ec637bae7
parent77bc68cf17973ee81e1cbc21d634c99aa8dca014
PCI: rockchip: Correct the use of FTS mask

We're trying to mask out bits[23:8] while retaining [32:24, 7:0], but we're
doing the inverse.  That doesn't have too much effect, since we're setting
all the [23:8] bits to 1, and the other bits are only relevant for modes
we're currently not using.  But we should get this right.

Fixes: ca1989084054 ("PCI: rockchip: Fix wrong transmitted FTS count")
Signed-off-by: Brian Norris <briannorris@chromium.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Shawn Lin <shawn.lin@rock-chips.com>
drivers/pci/host/pcie-rockchip.c