From 8ae07180f05a62867746eb27aa808913c23e7f73 Mon Sep 17 00:00:00 2001 From: Liangliang Lu Date: Sat, 3 Dec 2016 10:34:26 +0800 Subject: mmc: mmc-debugfs: add error state This change adds support to allow user space query if low level eMMC driver has encountered any error or not, this state can be read/cleared via debugfs. CRs-Fixed: 1056483 Change-Id: Idc4ea375e9f308446dec04d443d062fe502658bd Signed-off-by: Liangliang Lu Signed-off-by: Sayali Lokhande --- include/linux/mmc/host.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/linux') diff --git a/include/linux/mmc/host.h b/include/linux/mmc/host.h index 804d89a825fc..b056055f1d0b 100644 --- a/include/linux/mmc/host.h +++ b/include/linux/mmc/host.h @@ -533,6 +533,8 @@ struct mmc_host { struct dentry *debugfs_root; + bool err_occurred; + struct mmc_async_req *areq; /* active async req */ struct mmc_context_info context_info; /* async synchronization info */ -- cgit v1.2.3