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)
committerLuan Yuan <luan.yuan@amlogic.com>
Mon, 17 Dec 2018 02:27:34 +0000 (10: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 2b9c3c2..865991a 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;