pr_info("8bit: echo r g b > /sys/class/amvecm/gamma_pattern\n");
pr_info("10bit: echo r g b 0xa > /sys/class/amvecm/gamma_pattern\n");
pr_info(" r g b should be hex\n");
+ pr_info("disable gamma pattern:\n");
+ pr_info("echo disable > /sys/class/amvecm/gamma_pattern\n");
return 0;
}
parm[n++] = token;
}
+ if (!strcmp(parm[0], "disable")) {
+ vecm_latch_flag |= FLAG_GAMMA_TABLE_R;
+ vecm_latch_flag |= FLAG_GAMMA_TABLE_G;
+ vecm_latch_flag |= FLAG_GAMMA_TABLE_B;
+ kfree(buf_orig);
+ return count;
+ }
+
if (*(parm + 3) != NULL) {
if (kstrtol(parm[3], 16, &val) < 0) {
kfree(buf_orig);