diff options
| author | Liangliang Lu <luliang@codeaurora.org> | 2016-12-03 10:34:26 +0800 |
|---|---|---|
| committer | Sayali Lokhande <sayalil@codeaurora.org> | 2017-03-06 09:08:10 +0530 |
| commit | 8ae07180f05a62867746eb27aa808913c23e7f73 (patch) | |
| tree | 5c81225c2bd7090b85fdae10cbc30ed28abdbb20 /include | |
| parent | 0022c06fc83f147d3563f7f65b13ff7576ca4048 (diff) | |
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 <luliang@codeaurora.org>
Signed-off-by: Sayali Lokhande <sayalil@codeaurora.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/mmc/host.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 */ |
