amvecm: fix dnlp read scurv_mid2 debug interface error [1/1]

PD#SWPL-2448

Problem:
can not read dnlp scurv_mid2 value

Solution:
fix the error

Verify:
t962x_r311

Change-Id: I7a7df769dd117fd83164065f6df8e3ae82c2499f
Signed-off-by: Bencheng Jing <bencheng.jing@amlogic.com>
This commit is contained in:
Bencheng Jing
2018-11-23 16:17:59 +08:00
committed by Dongjin Kim
parent 0712e13162
commit 8bb52d4c6b

View File

@@ -1801,7 +1801,7 @@ static ssize_t amvecm_dnlp_debug_store(struct class *cla,
pr_info("%d\n",
dnlp_scurv_mid1_copy[val]);
}
} else if (!strcmp(parm[1], "scu v_mid2")) {
} else if (!strcmp(parm[1], "scurv_mid2")) {
if (parm[2] == NULL) {
pr_info("error cmd\n");
goto free_buf;