Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9a58bb99 authored by Yaniv Gardi's avatar Yaniv Gardi
Browse files

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: default avatarYaniv Gardi <ygardi@codeaurora.org>
parent 42d6f3b2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment