]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
crypto: qat - disable AER if an error occurs in probe functions
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Thu, 12 Aug 2021 08:18:15 +0000 (09:18 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 21 Aug 2021 07:44:54 +0000 (15:44 +0800)
commit3660f25186aff60fb7d2f5aba784dddf400aec99
tree226905fd67393c3347fed53484845522ce3034f9
parentae1f5043e2595bf29d348f2b4633fca5e930d3e3
crypto: qat - disable AER if an error occurs in probe functions

If an error occurs after a 'adf_enable_aer()' call, it must be undone by a
corresponding 'adf_disable_aer()' call, as already done in the remove
function.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/qat/qat_c3xxx/adf_drv.c
drivers/crypto/qat/qat_c62x/adf_drv.c
drivers/crypto/qat/qat_dh895xcc/adf_drv.c