]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7c230a4f8897605b4cb6652064cebf39d2105d5b
tree73f0b4286ad7335238c9cb4b34f4bcdd887b10d7
parentab98e61e727664f3c7e73084e6bf3493799ca9c4
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