From: Steven J. Magnani Date: Mon, 1 Mar 2010 05:18:16 +0000 (-0700) Subject: fsldma: Fix cookie issues X-Git-Tag: v2.6.34-rc1~204^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76bd061f5c7b7550cdaed68ad6219ea7cee288fc;p=pandora-kernel.git fsldma: Fix cookie issues fsl_dma_update_completed_cookie() appears to calculate the last completed cookie incorrectly in the corner case where DMA on cookie 1 is in progress just following a cookie wrap. Signed-off-by: Steven J. Magnani Acked-by: Ira W. Snyder [dan.j.williams@intel.com: fix an integer overflow warning with INT_MAX] Signed-off-by: Dan Williams --- Reading git-diff-tree failed