Panic: mmc: core: implement mmc panic ops
authorChuanxiao Dong <chuanxiao.dong@intel.com>
Tue, 25 Oct 2011 12:20:33 +0000 (20:20 +0800)
committerbuildbot <buildbot@intel.com>
Thu, 8 Dec 2011 09:59:16 +0000 (01:59 -0800)
commit38e65127b1d02c5e5fb2886dda9a4981cbce24db
tree54f294fa5a9d9f5e6a4b40e17aa163c892abedae
parent262eea385b3b12f0a7c523dbe335f4bd80ffed91
Panic: mmc: core: implement mmc panic ops

BZ: 16578

Port this patch from R2

Ops for panic driver to write kernel logs or user space logs into
eMMC card when panic happened.

Change-Id: I84b9e397bb12610a5a93454a0be63b90a99baccf
Signed-off-by: Chuanxiao Dong <chuanxiao.dong@intel.com>
Reviewed-on: http://android.intel.com:8080/26320
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Reviewed-by: Yang, Fei <fei.yang@intel.com>
Tested-by: Sun, Jianhua <jianhua.sun@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
drivers/mmc/core/Makefile
drivers/mmc/core/core.c
drivers/mmc/core/mmc_panic_ops.c [new file with mode: 0644]
include/linux/mmc/core.h
include/linux/mmc/host.h