crypto: ccp - Use only the relevant interrupt bits
authorGary R Hook <gary.hook@amd.com>
Thu, 20 Apr 2017 20:24:09 +0000 (15:24 -0500)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 21 Apr 2017 12:30:56 +0000 (20:30 +0800)
commit56467cb11cf8ae4db9003f54b3d3425b5f07a10a
tree0f51509aec6c9c379cd498e427f1221340d4a4b5
parent7701d1ff8ed1b8d71dcccf1ae47470fe22942373
crypto: ccp - Use only the relevant interrupt bits

Each CCP queue can product interrupts for 4 conditions:
operation complete, queue empty, error, and queue stopped.
This driver only works with completion and error events.

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