diff options
| author | Yaniv Gardi <ygardi@codeaurora.org> | 2015-09-08 15:56:54 +0300 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-22 11:00:40 -0700 |
| commit | f1250d358db044345d436b47fad40e420002a517 (patch) | |
| tree | cac66850cde528a9114db782461dd9ccf7059b51 /include/linux/sys.h | |
| parent | 4575b28635063575ac3ece2813719de6f758bb49 (diff) | |
scsi: ufs-debugfs: overwrite error scenario value via debugfs
In the old code, there is no way to "disable" the already enabled
error scenarios since the operator in use is a bit-wise OR operator.
This change fixes this issue. Now, the new value overwrites the previous
value so it's possible to disable all error scenarios by:
echo 0 > /d/ufshcd0/err_inj_scenario
Change-Id: I21eadb3345f6587edf5232ea3c03702bfdb930ad
Signed-off-by: Yaniv Gardi <ygardi@codeaurora.org>
Diffstat (limited to 'include/linux/sys.h')
0 files changed, 0 insertions, 0 deletions
