crypto: caam - handle interrupt lines shared across rings
authorKim Phillips <kim.phillips@freescale.com>
Tue, 12 Apr 2011 00:15:16 +0000 (19:15 -0500)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 2 May 2011 23:53:31 +0000 (09:53 +1000)
- add IRQF_SHARED to request_irq flags to support parts such as
the p1023 that has one IRQ line per couple of rings.

- resetting a job ring triggers an interrupt, so move request_irq
prior to jr_reset to avoid 'got IRQ but nobody cared' messages.

- disable IRQs in h/w to avoid contention between reset and
interrupt status

- delete invalid comment - if there were incomplete jobs,
module would be in use, preventing an unload.

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

No differences found