crypto: caam - fix DECO RSR polling
authorHoria Geanta <horia.geanta@freescale.com>
Mon, 21 Jul 2014 13:03:21 +0000 (16:03 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 23 Jul 2014 13:31:37 +0000 (21:31 +0800)
commit8f1da7b945b65513fb02b75ce25040c67ce32726
tree73f0b4286ad7335238c9cb4b34f4bcdd887b10d7
parent71d932d99d7e6c644172e1d686bb41d667d8fa37
crypto: caam - fix DECO RSR polling

RSR (Request Source Register) is not used when
virtualization is disabled, thus don't poll for Valid bit.

Besides this, if used, timeout has to be reinitialized.

Signed-off-by: Horia Geanta <horia.geanta@freescale.com>
Acked-by: Kim Phillips <kim.phillips@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/ctrl.c