ARM: socfpga: stratix10: Return valid error code from FPGA driver
authorAng, Chee Hong <chee.hong.ang@intel.com>
Mon, 18 Feb 2019 04:07:50 +0000 (20:07 -0800)
committerMarek Vasut <marex@denx.de>
Mon, 18 Feb 2019 12:00:54 +0000 (13:00 +0100)
commit5097ba6177bad8c7e09b50149cacd6fd5020f0c8
tree731b19a0eaf1d16350d270218bd5ede49eede868
parent7997599e2df64c8fb450bc03f2d618adbde05f6e
ARM: socfpga: stratix10: Return valid error code from FPGA driver

This patch prevent the Stratix 10 FPGA driver incorrectly return the
transaction ID as the mailbox error code. It should always return the
actual mailbox error code from SDM firmware.

Signed-off-by: Ang, Chee Hong <chee.hong.ang@intel.com>
drivers/fpga/stratix10.c