arm64: a37xx: pci: Fix printing debug messages
authorPali Rohár <pali@kernel.org>
Mon, 18 Jan 2021 11:09:33 +0000 (12:09 +0100)
committerStefan Roese <sr@denx.de>
Wed, 27 Jan 2021 12:12:51 +0000 (13:12 +0100)
commit279b5736570b9ae5da3d589ff8df5dcc3d19296b
tree119d486b0656c318c1e4875fb029a37baaf17fa7
parentaea2f721051037ea673a726856bcc15ecebf2389
arm64: a37xx: pci: Fix printing debug messages

Value pcie->dev in function pcie_advk_probe() is not initialized yet
so use dev as argument for dev_dbg()/dev_warn().

Function pcie_advk_wait_pio() itself prints error message on failure
so do not print duplicate error message in caller.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
drivers/pci/pci-aardvark.c