PCI: aardvark: Fix checking for PIO Non-posted Request
authorPali Rohár <pali@kernel.org>
Thu, 24 Jun 2021 21:33:43 +0000 (23:33 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 19 Jul 2021 07:45:01 +0000 (09:45 +0200)
commit130919708990b1718dea512a5954c7170706a87e
treef7c59aee8d23eee01c0dd954281092e4d8bebeff
parentf147115018aabe71e25a9fd85b1212b81b7ab622
PCI: aardvark: Fix checking for PIO Non-posted Request

commit 8ceeac307a79f68c0d0c72d6e48b82fa424204ec upstream.

PIO_NON_POSTED_REQ for PIO_STAT register is incorrectly defined. Bit 10 in
register PIO_STAT indicates the response is to a non-posted request.

Link: https://lore.kernel.org/r/20210624213345.3617-2-pali@kernel.org
Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: Marek Behún <kabel@kernel.org>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/pci/controller/pci-aardvark.c