Re: [PATCH 1/2] crypto: caam: pair irq map and dispose in the same function

2015-01-25 Thread Herbert Xu
On Thu, Jan 22, 2015 at 04:00:48PM +0200, Cristian Stoica wrote: > irq_dispose_mapping is not called on all error paths from caam_jr_init. > This takes care of several clean-up issues by performing resource > clean-up and allocation at the same level. > > Signed-off-by: Cristian Stoica Both patc

[PATCH 1/2] crypto: caam: pair irq map and dispose in the same function

2015-01-22 Thread Cristian Stoica
irq_dispose_mapping is not called on all error paths from caam_jr_init. This takes care of several clean-up issues by performing resource clean-up and allocation at the same level. Signed-off-by: Cristian Stoica --- drivers/crypto/caam/jr.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletion