crypto: ccp - Disable interrupts early on unload
authorGary R Hook <ghook@amd.com>
Thu, 20 Apr 2017 20:24:22 +0000 (15:24 -0500)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 21 Apr 2017 12:30:57 +0000 (20:30 +0800)
commit116591fe3eef11c6f06b662c9176385f13891183
tree5349af5586727bc95d07779c5ce5ae4f562abd79
parent56467cb11cf8ae4db9003f54b3d3425b5f07a10a
crypto: ccp - Disable interrupts early on unload

Ensure that we disable interrupts first when shutting down
the driver.

Cc: <stable@vger.kernel.org> # 4.9.x+
Signed-off-by: Gary R Hook <ghook@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/ccp/ccp-dev-v5.c