himax_mmi: add write permission to self_test entry

Add owner and group write permission to self_test entry

Change-Id: Iefbdf02f1e735dd147236c12971acec432a05ea2
Signed-off-by: haojl2 <haojl2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1223644
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Reviewed-by: Haichao Li <liuhc3@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
haojl2 2018-08-09 20:28:25 +08:00 • committed by Jialei Hao
commit 214de1c9b0

View file

@ -528,7 +528,8 @@ int himax_common_proc_init(void)
fp_himax_self_test_init();
#endif
himax_proc_self_test_file = proc_create(HIMAX_PROC_SELF_TEST_FILE, (S_IRUGO), himax_touch_proc_dir, &himax_proc_self_test_ops);
himax_proc_self_test_file = proc_create(HIMAX_PROC_SELF_TEST_FILE, (S_IRUGO | S_IWUSR | S_IWGRP),
himax_touch_proc_dir, &himax_proc_self_test_ops);
if (himax_proc_self_test_file == NULL) {
E(" %s: proc self_test file create failed!\n", __func__);
goto fail_1;