diff options
author | Giovanni Cabiddu <giovanni.cabiddu@intel.com> | 2021-12-24 11:05:32 +0000 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2021-12-31 18:10:56 +1100 |
commit | 4cab5dfd15b77cde2b965bbf71a86876a42684da (patch) | |
tree | 3fc7c562015022854b3f14c6b06a2c191104a465 /drivers/spi/spidev.c | |
parent | c5d692a2335d64ac390aeb8ab6c4ac9f662e1be4 (diff) | |
download | linux-4cab5dfd15b77cde2b965bbf71a86876a42684da.tar.gz linux-4cab5dfd15b77cde2b965bbf71a86876a42684da.tar.bz2 linux-4cab5dfd15b77cde2b965bbf71a86876a42684da.zip |
crypto: qat - fix definition of ring reset results
The ring reset result values are defined starting from 0x1 instead of 0.
This causes out-of-tree drivers that support this message to understand
that a ring reset failed even if the operation was successful.
Fix by starting the definition of ring reset result values from 0.
Fixes: 0bba03ce9739 ("crypto: qat - add PFVF support to enable the reset of ring pairs")
Signed-off-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Reported-by: Adam Guerin <adam.guerin@intel.com>
Reviewed-by: Marco Chiappero <marco.chiappero@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/spi/spidev.c')
0 files changed, 0 insertions, 0 deletions