firmware: fpga: replace the error codes with the standard ones
authorRichard Gong <richard.gong@intel.com>
Tue, 14 Apr 2020 20:47:54 +0000 (15:47 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Apr 2020 13:38:37 +0000 (15:38 +0200)
commit7536ad8dbfcfd56cd04d005b76cd9ecf2036e220
treec2e13941824e9c877540a513314dd3d6061264c2
parent2a4542e55f1b592aa743fb319d4b2fd85f7e136e
firmware: fpga: replace the error codes with the standard ones

The Intel service layer driver has defined error codes for the
specific services, which started from FPGA configuration then RSU
(Remote Status Update).

Intel service layer driver should define the standard error codes
rather than keep adding more error codes for the new services.

The standard error codes will be used by all the clients of Intel service
layer driver.

Replace FPGA and RSU specific error codes with Intel service layer’s
Common error codes.

Signed-off-by: Richard Gong <richard.gong@intel.com>
Link: https://lore.kernel.org/r/1586897274-307-2-git-send-email-richard.gong@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/firmware/stratix10-rsu.c
drivers/firmware/stratix10-svc.c
drivers/fpga/stratix10-soc.c
include/linux/firmware/intel/stratix10-smc.h
include/linux/firmware/intel/stratix10-svc-client.h