From: Patrick McHardy Date: Wed, 7 May 2008 14:36:54 +0000 (+0800) Subject: [HIFN]: Move command descriptor setup to seperate function X-Git-Tag: v2.6.27-rc1~1107^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85e7e60b856141cc9831e11cdfc8e9265886abac;p=pandora-kernel.git [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 Acked-by: Evgeniy Polyakov Signed-off-by: Herbert Xu --- Reading git-diff-tree failed