diff options
author | Nishanth Aravamudan <nacc@linux.vnet.ibm.com> | 2015-07-02 15:38:48 -0700 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-07-06 16:32:02 +0800 |
commit | fa9a9a084a2153095d0433188be232b0127ab23c (patch) | |
tree | f449fd48209e03d9889ee838aa8bc8364764ac13 /drivers/irqchip | |
parent | 6170511a917679f8a1324f031a0a40f851ae91e9 (diff) | |
download | blackbird-op-linux-fa9a9a084a2153095d0433188be232b0127ab23c.tar.gz blackbird-op-linux-fa9a9a084a2153095d0433188be232b0127ab23c.zip |
crypto: nx - nx842_OF_upd_status should return ENODEV if device is not 'okay'
The current documention mentions explicitly that EINVAL should be
returned if the device is not available, but nx842_OF_upd_status()
always returns 0. However, nx842_probe() specifically checks for
non-ENODEV returns from nx842_of_upd() (which in turn calls
nx842_OF_upd_status()) and emits an extra error in that case. It seems
like the proper return code of a disabled device is ENODEV.
Signed-off-by: Nishanth Aravamudan <nacc@linux.vnet.ibm.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/irqchip')
0 files changed, 0 insertions, 0 deletions