diff options
author | Arend Van Spriel <arend.vanspriel@broadcom.com> | 2018-01-22 21:46:40 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2018-01-24 17:02:39 +0100 |
commit | b69c1df47281ad47bd2037a42b98f5c7115b7fd5 (patch) | |
tree | 8fc1f6eb8204ef06b99d7b0281e051b09c7f5555 /drivers/base | |
parent | brcmfmac: assure bcdc dcmd api does not return value > 0 (diff) | |
download | linux-b69c1df47281ad47bd2037a42b98f5c7115b7fd5.tar.xz linux-b69c1df47281ad47bd2037a42b98f5c7115b7fd5.zip |
brcmfmac: separate firmware errors from i/o errors
When using the firmware api it can fail simply because firmware does
not like the request or it fails due to issues in the host interface.
Currently, there is only a single error code which is confusing. So
adding a parameter to pass the firmware error separately and in case
of a firmware error always return -EBADE to user-space.
Reviewed-by: Hante Meuleman <hante.meuleman@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieter-paul.giesberts@broadcom.com>
Reviewed-by: Franky Lin <franky.lin@broadcom.com>
Signed-off-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/base')
0 files changed, 0 insertions, 0 deletions