UPSTREAM: PCI: rockchip: correct the use of FTS mask
authorBrian Norris <briannorris@chromium.org>
Tue, 18 Oct 2016 23:13:04 +0000 (16:13 -0700)
committerHuang, Tao <huangtao@rock-chips.com>
Wed, 23 Nov 2016 09:34:00 +0000 (17:34 +0800)
commit2c87338d23d6c045ad6fb82172de92607c4ab8df
tree6d75fb2de3807f9e93cbe0ef2d0b44ce4a9631d8
parent6c71bcdab9b48258ab496218581d035afb65e0dd
UPSTREAM: 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.

Change-Id: I98ec66f1fdc5f99cc2432d7a1cddb63f4b9f3c30
Fixes: ca1989084054 ("PCI: rockchip: Fix wrong transmitted FTS count")
Signed-off-by: Brian Norris <briannorris@chromium.org>
Acked-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
(am from git.kernel.org/cgit/linux/kernel/git/next/linux-next.git
commit fd7c054e782d57509b2355ab71b786d83ab44194)
drivers/pci/host/pcie-rockchip.c