mmc: omap_hsmmc: if multiblock reads are broken, disable them
authorPaul Walmsley <paul@pwsan.com>
Thu, 6 Oct 2011 20:50:35 +0000 (14:50 -0600)
committerChris Ball <cjb@laptop.org>
Thu, 27 Oct 2011 13:11:28 +0000 (09:11 -0400)
commit9b68256cdef75204aa8a4583aa79dd7c081796b3
tree8b0d514421193b11ebfb98e99bde76b81bfb00f5
parent2bf22b39823c1d173dda31111a4eb2ce36daaf39
mmc: omap_hsmmc: if multiblock reads are broken, disable them

When device data indicates that multiple block reads are not supported
on a given HSMMC controller instance, log a message to the console, and
pass the appropriate MMC capability flag to the MMC core.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: Dave Hylands <dhylands@gmail.com>
Tested-by: Steve Sakoman <sakoman@gmail.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
arch/arm/plat-omap/include/plat/mmc.h
drivers/mmc/host/omap_hsmmc.c