author | Kishon Vijay Abraham I <kishon@ti.com> | |
Wed, 9 Oct 2019 09:49:47 +0000 (15:19 +0530) | ||
committer | Sekhar Nori <nsekhar@ti.com> | |
Wed, 23 Oct 2019 13:45:32 +0000 (19:15 +0530) | ||
commit | fada4256064ced18c570ecb97b3ba2670b5890a4 | |
tree | 05d514f437f9cdfabb0b59047f4ac7302205d091 | tree | snapshot (tar.xz tar.gz zip) |
parent | a6ec5fac8a6c698ae3e4eebc195038ff20db8ba1 | commit | diff |
NTB: ntb_hw_epf: Decode error command status
ntb_epf_send_command() only checks if COMMAND_STATUS_OK is set or
not. However the endpoint can also set an error if the command failed.
Add a new status bit for command error and decode error in commands
status here.
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
ntb_epf_send_command() only checks if COMMAND_STATUS_OK is set or
not. However the endpoint can also set an error if the command failed.
Add a new status bit for command error and decode error in commands
status here.
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
drivers/ntb/hw/epf/ntb_hw_epf.c | diff | blob | history |