summaryrefslogtreecommitdiff
path: root/include/linux/dynamic_queue_limits.h
diff options
context:
space:
mode:
authorSujith Reddy Thumma <sthumma@codeaurora.org>2010-12-20 16:27:20 +0530
committerSubhash Jadavani <subhashj@codeaurora.org>2016-05-31 15:20:53 -0700
commit267e3b25f4327741a6790bc957b99afd1e4c9e4b (patch)
treeedba17fc3e25d4af323ca8a081cd84e1cc71ac07 /include/linux/dynamic_queue_limits.h
parent710b297f4c0ad689c544cf5f20c50d97349899c5 (diff)
mmc: core: Determine correct access mode for eMMC cards by reading OCR
MMC core reads SEC_COUNT information from EXT_CSD register and assumes that the card supports sector access mode. Some eMMC cards (<=2GB) do not support this mode even though they have SEC_COUNT value defined, causing failure while populating extended partitions. Sector/Byte access mode information is stored in OCR register. Hence, read OCR bit 30 and then confirm it with SEC_COUNT value to know whether the card supports sector access mode or byte access mode. Change-Id: Ifdfff35309e8667cd2c2ac2761b9a708d5b785d3 Signed-off-by: Sujith Reddy Thumma <sthumma@codeaurora.org>
Diffstat (limited to 'include/linux/dynamic_queue_limits.h')
0 files changed, 0 insertions, 0 deletions