mmc: core: support HPI send command
authorChuanxiao Dong <chuanxiao.dong@intel.com>
Mon, 24 Oct 2011 02:12:40 +0000 (10:12 +0800)
committermgross <mark.gross@intel.com>
Wed, 9 Nov 2011 21:21:17 +0000 (13:21 -0800)
commitea43b2f0e6a7495ce192cb13b41a0ef301c163ad
treed5ace97b6d9bcf2e76f9b3c8f655bd021c302ad9
parentbd5da1046e603307090fb99c8bc7c8aa6d8989b8
mmc: core: support HPI send command

HPI command is defined in eMMC4.41. This patch implements sending
HPI command to eMMC card if card supports.

Besides these changes, this patch also exported some sysfs which can
be used check whether the hpi is supported easily

Change-Id: I14ad85fe47a080564731228c3fe816f4f0b847eb
Signed-off-by: Chuanxiao Dong <chuanxiao.dong@intel.com>
Reviewed-on: http://android.intel.com:8080/23121
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Gross, Mark <mark.gross@intel.com>
drivers/mmc/core/core.c
drivers/mmc/core/mmc.c
drivers/mmc/core/mmc_ops.c
drivers/mmc/core/mmc_ops.h
include/linux/mmc/card.h
include/linux/mmc/mmc.h