mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 16:46:15 -04:00
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:
parent
5374d3a28d
commit
214de1c9b0
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue