amvecm: fix dnlp read scurv_mid2 debug interface error [1/1]
authorBencheng Jing <bencheng.jing@amlogic.com>
Fri, 23 Nov 2018 08:17:59 +0000 (16:17 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Wed, 28 Nov 2018 03:27:18 +0000 (19:27 -0800)
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>
drivers/amlogic/media/enhancement/amvecm/amvecm.c

index 8911ce8..d98960e 100644 (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;