fpga: zynqmp: show an error message when FPGA programming fails
authorLuca Ceresoli <luca@lucaceresoli.net>
Fri, 11 Jan 2019 16:09:45 +0000 (17:09 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 24 Jan 2019 09:03:43 +0000 (10:03 +0100)
commit8df324a20b45f3a15a166797a2d5a5d447337891
treebaa7a17b8923f7ab8db671ca2a23cb7744dc59ab
parent4c84844715c645db9968d2f5cbeefe910268f57f
fpga: zynqmp: show an error message when FPGA programming fails

When FPGA programming fails, it does so silently, unless debugging
code is enabled. This makes it hard to detect problems in production
environments.

Print the error message unconditionally so the error doesn't go
unnoticed.

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/fpga/zynqmppl.c