summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2008-05-07 22:36:54 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2008-07-10 20:35:12 +0800
commit85e7e60b856141cc9831e11cdfc8e9265886abac (patch)
tree95856a8efae68493ad2b02a73e1a0b9fa9ea28d6 /samples
parent6cd3d674ddd1706226d4c395440ef1997fd72381 (diff)
downloadlinux-85e7e60b856141cc9831e11cdfc8e9265886abac.tar.gz
linux-85e7e60b856141cc9831e11cdfc8e9265886abac.tar.bz2
linux-85e7e60b856141cc9831e11cdfc8e9265886abac.zip
[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>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions