diff options
| author | Venkat Gopalakrishnan <venkatg@codeaurora.org> | 2015-09-15 15:57:35 -0700 |
|---|---|---|
| committer | Subhash Jadavani <subhashj@codeaurora.org> | 2016-05-31 15:27:38 -0700 |
| commit | b78e1b402589663b584111e24b6756beccef4797 (patch) | |
| tree | 9ac570a8d3d4c9efe8bfad99cb56c0a94fbb3a21 /scripts/stackusage | |
| parent | 77da995311249747adf8b5e3b08e1ab415437f25 (diff) | |
mmc: debugfs: add debugfs entry to force raise host errors
The SDHC spec allows to force raise errors that is useful for
debugging error handler routines. Add debugfs entry force_error
to trigger host errors from userspace. Check SDHCI_SET_INT_ERROR
register for error bitmask info.
Usage: echo 0x1 > /sys/kernel/debug/mmcX/force_error
X - denotes the slot id
Change-Id: I9f67442a79b2645cbdc3020d1a10c0b32840ce32
Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
[subhashj@codeaurora.org: fixed trivial merge conflicts]
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
