mmc: sdhci: add quirk for max len ADMA descriptors
authorOlof Johansson <olof@lixom.net>
Sun, 2 Jan 2011 00:37:32 +0000 (18:37 -0600)
committerChris Ball <cjb@laptop.org>
Sun, 9 Jan 2011 04:52:23 +0000 (23:52 -0500)
commit30652aa36b58d57fcc1a0acce51e391bbb6edf5e
tree80743c840e0456381b4e1aea223661eb694a976e
parentc288b85554097a3d1271f935c48b442280b2db9e
mmc: sdhci: add quirk for max len ADMA descriptors

Some controllers misparse segment length 0 as being 0, not 65536. Add
a quirk to deal with it.

Signed-off-by: Olof Johansson <olof@lixom.net>
Reviewed-by: Chris Ball <cjb@laptop.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sdhci.c
include/linux/mmc/sdhci.h