mbox series

[0/2] crypto: inside-secure: Handle load errors better

Message ID Y/fkOF31BTQVocSe@sevai.o362.us (mailing list archive)
Headers show
Series crypto: inside-secure: Handle load errors better | expand

Message

Jonathan McDowell Feb. 23, 2023, 10:10 p.m. UTC
2 minor patches to improve the error handling of the safexcel driver
when it fails to load.

Firstly, make it clear when the reason for a load failure is because the
firmware is not available.

Secondly, ensure we clean up the ring workqueues / IRQ affinity settings
to avoid a kernel warning when the driver fails to load.

Jonathan McDowell (2):
  crypto: inside-secure: Raise firmware load failure message to error
  crypto: inside-secure: Cleanup ring IRQ workqueues on load failure

 drivers/crypto/inside-secure/safexcel.c | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)