]> git.baikalelectronics.ru Git - kernel.git/commit
crypt: bfin_crc - Remove useless SSYNC instruction and cache flush to DMA coherent...
authorSonic Zhang <sonic.zhang@analog.com>
Wed, 26 Feb 2014 02:39:16 +0000 (10:39 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 10 Mar 2014 12:13:33 +0000 (20:13 +0800)
commitccfb1613cd4420ab1e04dc72ca2de9621e4a112c
treee81d0ba5240188c1eddb4cc03f5ee686a7f800bf
parent0d4ea70e93cd650d20aeb6b52d0865989c0f0ac2
crypt: bfin_crc - Remove useless SSYNC instruction and cache flush to DMA coherent memory

1) SSYNC instruction is blackfin specific and takes no effect in this driver.
2) DMA descriptor and SG middle buffer are in DMA coherent memory. No need
to flush.
3) Turn kzalloc, ioremap and request_irq into managed device APIs respectively.

Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/bfin_crc.c