OSDN Git Service

crypto: brcm - Explicity ACK mailbox message
authorraveendra padasalagi <raveendra.padasalagi@broadcom.com>
Tue, 29 Aug 2017 09:38:10 +0000 (15:08 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 Nov 2017 08:49:21 +0000 (09:49 +0100)
commit7d53b8eb50ae78c685139fa1a856e2bef4876763
treed5e32419ddc885de448912ab335184540a320f30
parent5e56be0e260cc367d2eb1823a9b476d018d80152
crypto: brcm - Explicity ACK mailbox message

commit f0e2ce58f853634d7ad1a418a49bd5fbd556227c upstream.

Add support to explicity ACK mailbox message
because after sending message we can know
the send status via error attribute of brcm_message.

This is needed to support "txdone_ack" supported in
mailbox controller driver.

Fixes: 9d12ba86f818 ("crypto: brcm - Add Broadcom SPU driver")
Signed-off-by: Raveendra Padasalagi <raveendra.padasalagi@broadcom.com>
Reviewed-by: Anup Patel <anup.patel@broadcom.com>
Reviewed-by: Scott Branden <scott.branden@broadcom.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/crypto/bcm/cipher.c