linux_dsm_epyc7002/include/linux/mmc
Adrian Hunter 7198f3c9b1 mmc: fix incorrect interpretation of card type bits
In the extended CSD register the CARD_TYPE is an 8-bit value of which the
upper 6 bits were reserved in JEDEC specifications prior to version 4.4.
In version 4.4 two of the reserved bits were designated for identifying
support for the newly added High-Speed Dual Data Rate.  Unfortunately the
mmc_read_ext_csd() function required that the reserved bits be zero
instead of ignoring them as it should.

This patch makes mmc_read_ext_csd() ignore the CARD_TYPE bits that are
reserved or not yet supported.  It also stops the function jumping to the
end as though an error occurred, when it is only warns that the CARD_TYPE
bits (that it does interpret) are invalid.

Signed-off-by: Adrian Hunter <adrian.hunter@nokia.com>
Cc: <linux-mmc@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-03-24 16:31:21 -07:00
..
card.h sdio: add quirk to clamp byte mode transfer 2010-03-06 11:26:36 -08:00
core.h mmc: allow host claim / release nesting 2009-09-23 07:39:33 -07:00
host.h sdio: introduce API for special power management features 2010-03-06 11:26:36 -08:00
mmc.h mmc: fix incorrect interpretation of card type bits 2010-03-24 16:31:21 -07:00
pm.h sdio: introduce API for special power management features 2010-03-06 11:26:36 -08:00
sd.h
sdio_func.h sdio: introduce API for special power management features 2010-03-06 11:26:36 -08:00
sdio_ids.h wimax/iwmc3200: add new sdio device ID to support iwmc3200 2.5GHz sku 2009-10-19 15:55:59 +09:00
sdio.h sdio: put active devices into 1-bit mode during suspend 2010-03-06 11:26:37 -08:00