]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: core: fix the decision of HS200/DDR card-type
authorSeungwon Jeon <tgih.jun@samsung.com>
Wed, 25 Apr 2012 07:17:37 +0000 (16:17 +0900)
committerChris Ball <cjb@laptop.org>
Wed, 9 May 2012 14:03:21 +0000 (10:03 -0400)
commit762eac611fb3b973642e1bff3c2095e5d35508e4
tree68ed153cae55296eab933bb1b39562510006f14e
parentbc5f23027ad71c78a8c5a1816184ef44a8847fac
mmc: core: fix the decision of HS200/DDR card-type

Current implementation decides the card type exclusively. Even though
eMMC device can support both HS200 and DDR mode, card type will be
set only for HS200. If the host doesn't support HS200 but has DDR
capability, then DDR mode can't be selected.

Signed-off-by: Seungwon Jeon <tgih.jun@samsung.com>
Reviewed-by: Subhash Jadavani <subhashj@codeaurora.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/core/mmc.c
include/linux/mmc/card.h
include/linux/mmc/mmc.h