PCI: aardvark: Fix PCIe Max Read Request Size setting
authorEvan Wang <xswang@marvell.com>
Fri, 6 Apr 2018 14:55:34 +0000 (16:55 +0200)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Mon, 16 Apr 2018 10:48:45 +0000 (11:48 +0100)
commitfc31c4e347c9dad50544d01d5ee98b22c7df88bb
tree6666ed71eea1b74117a85989e468d33363223fc7
parent3430f924a62905891c8fa9a3b97ea52007795bc3
PCI: aardvark: Fix PCIe Max Read Request Size setting

There is an obvious typo issue in the definition of the PCIe maximum
read request size: a bit shift is directly used as a value, while it
should be used to shift the correct value.

Fixes: 8c39d710363c1 ("PCI: aardvark: Add Aardvark PCI host controller driver")
Cc: <stable@vger.kernel.org>
Signed-off-by: Evan Wang <xswang@marvell.com>
Reviewed-by: Victor Gu <xigu@marvell.com>
Reviewed-by: Nadav Haklai <nadavh@marvell.com>
[Thomas: tweak commit log.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
drivers/pci/host/pci-aardvark.c