PCI: aardvark: Indicate error in 'val' when config read fails

Most callers of config read do not check for return value. But most of the
ones that do, checks for error indication in 'val' variable.

This patch updates error handling in advk_pcie_rd_conf() function. If PIO
transfer fails then 'val' variable is set to 0xffffffff which indicates

Signed-off-by: Pali Rohár <pali@kernel.org>
1 file changed