diff options
author | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2023-02-08 10:08:46 +0200 |
---|---|---|
committer | Xu Yilun <yilun.xu@intel.com> | 2023-03-08 09:39:35 +0800 |
commit | c3d79fda250ac5df73d089f08311eb87138b04f3 (patch) | |
tree | a77f1849a32c2d410556988a03135bb7eb9803e5 /sound | |
parent | fe15c26ee26efa11741a7b632e9f23b01aca4cc6 (diff) | |
download | lwn-c3d79fda250ac5df73d089f08311eb87138b04f3.tar.gz lwn-c3d79fda250ac5df73d089f08311eb87138b04f3.zip |
fpga: m10bmc-sec: Fix rsu_send_data() to return FW_UPLOAD_ERR_HW_ERROR
rsu_send_data() should return FW_UPLOAD_ERR_* error codes instead of
normal -Exxxx codes. Convert <0 return from ->rsu_status() to
FW_UPLOAD_ERR_HW_ERROR.
Fixes: 001a734a55d0 ("fpga: m10bmc-sec: Make rsu status type specific")
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Reviewed-by: Russ Weight <russell.h.weight@intel.com>
Cc: <stable@vger.kernel.org>
Acked-by: Xu Yilun <yilun.xu@intel.com>
Link: https://lore.kernel.org/r/20230208080846.10795-1-ilpo.jarvinen@linux.intel.com
Signed-off-by: Xu Yilun <yilun.xu@intel.com>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions