diff --git a/drivers/input/touchscreen/mediatek/tp_common.c b/drivers/input/touchscreen/mediatek/tp_common.c index 7083d3789160..6baf505fe966 100644 --- a/drivers/input/touchscreen/mediatek/tp_common.c +++ b/drivers/input/touchscreen/mediatek/tp_common.c @@ -5,7 +5,7 @@ struct kobject *touchpanel_kobj; int tp_common_set_##type##_ops(struct tp_common_ops *ops) \ { \ static struct kobj_attribute kattr = \ - __ATTR(type, (S_IWUSR | S_IRUGO), NULL, NULL); \ + __ATTR(type, (S_IWUSR | S_IWGRP | S_IRUSR | S_IRGRP), NULL, NULL); \ kattr.show = ops->show; \ kattr.store = ops->store; \ return sysfs_create_file(touchpanel_kobj, &kattr.attr); \ @@ -20,4 +20,4 @@ static int __init tp_common_init(void) return -ENOMEM; return 0; } -core_initcall(tp_common_init); \ No newline at end of file +core_initcall(tp_common_init);