]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[HIFN]: Move command descriptor setup to seperate function
authorPatrick McHardy <kaber@trash.net>
Wed, 7 May 2008 14:36:54 +0000 (22:36 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 10 Jul 2008 12:35:12 +0000 (20:35 +0800)
commit85e7e60b856141cc9831e11cdfc8e9265886abac
tree95856a8efae68493ad2b02a73e1a0b9fa9ea28d6
parent6cd3d674ddd1706226d4c395440ef1997fd72381
[HIFN]: Move command descriptor setup to seperate function

Move command descriptor setup to seperate function as preparation
for the following DMA setup fixes.

Note 1: also fix a harmless typo while moving it: sa_idx is initialized
to dma->resi instead of dma->cmdi.

Note 2: errors from command descriptor setup are not propagated back,
anymore, they can't be handled anyway and all conditions leading
to errors should be checked earlier.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Acked-by: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hifn_795x.c