sdhci: add adma descriptor set call
authorBen Dooks <ben-linux@fluff.org>
Fri, 5 Mar 2010 21:43:26 +0000 (13:43 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 6 Mar 2010 19:26:36 +0000 (11:26 -0800)
commit118cd17d4137f34c747c32765c1cb4d3910c04d4
tree37770764fb27313fa15ebb1bc29c13673614f185
parent3fb7fb4a01d09f81d1daaf65e52d929734bd691f
sdhci: add adma descriptor set call

The code to write the ADMA descriptor into memory is repeated several
times throughout sdhci_adma_table_pre, and thus should be moved into a
common function.  This will also be useful if the patch to make the write
more efficient is accepted.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Cc: Pierre Ossman <pierre@ossman.eu>
Cc: <linux-mmc@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/mmc/host/sdhci.c