From: Ludovic Desroches Date: Thu, 9 Feb 2012 15:33:53 +0000 (+0100) Subject: mmc: atmel-mci: don't use dma features when using DMA with no chan available X-Git-Tag: v3.3-rc7~46^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef8781989a1bcd05aa47e853917c37df44917194;p=pandora-kernel.git mmc: atmel-mci: don't use dma features when using DMA with no chan available Some callbacks are set too early -- i.e. we can have dma capabilities but we can't get a dma channel. So wait to get the dma channel before setting callbacks and change logs consequently. Signed-off-by: Ludovic Desroches Signed-off-by: Nicolas Ferre [Should be applied to 3.2-stable.] Cc: Signed-off-by: Chris Ball --- Reading git-diff-tree failed