[PATCH 5.10 057/103] fpga: machxo2-spi: Return an error on failure