diff options
author | Kim Phillips <kim.phillips@freescale.com> | 2011-04-12 04:15:16 +0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2011-05-03 03:53:31 +0400 |
commit | 9620fd959fb169358f2ba349c9fd1bcd96944c28 (patch) | |
tree | 6aa26326b3bf82e8f30912a1599219f6edd41101 /drivers/crypto/caam/compat.h | |
parent | bf362759034cf208966dff262c7d740a6b1b3edd (diff) | |
download | linux-9620fd959fb169358f2ba349c9fd1bcd96944c28.tar.xz |
crypto: caam - handle interrupt lines shared across rings
- 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>
Diffstat (limited to 'drivers/crypto/caam/compat.h')
0 files changed, 0 insertions, 0 deletions