Skip to content

Commit 1894622

Browse files
Sibi Sankarandersson
authored andcommitted
remoteproc: Fixup coredump debugfs disable request
Fix the discrepancy observed between accepted input and read back value while disabling remoteproc coredump through the coredump debugfs entry. Fixes: 3afdc59 ("remoteproc: Add coredump debugfs entry") Cc: stable@vger.kernel.org Signed-off-by: Sibi Sankar <sibis@codeaurora.org> Link: https://lore.kernel.org/r/20200916145100.15872-1-sibis@codeaurora.org Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
1 parent 4360f93 commit 1894622

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/remoteproc/remoteproc_debugfs.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ static ssize_t rproc_coredump_write(struct file *filp,
9494
goto out;
9595
}
9696

97-
if (!strncmp(buf, "disable", count)) {
97+
if (!strncmp(buf, "disabled", count)) {
9898
rproc->dump_conf = RPROC_COREDUMP_DISABLED;
9999
} else if (!strncmp(buf, "inline", count)) {
100100
rproc->dump_conf = RPROC_COREDUMP_INLINE;

0 commit comments

Comments
 (0)