exynos_gpu: Don't allow userspace to control freqs
This commit is contained in:
parent
2de2633674
commit
fdef7b54c3
1 changed files with 2 additions and 2 deletions
|
@ -577,7 +577,7 @@ static ssize_t gpu_min_clock_store(struct kobject *kobj,
|
|||
|
||||
return count;
|
||||
}
|
||||
static struct kobj_attribute attr_gpu_min_clock = __ATTR_RW(gpu_min_clock);
|
||||
static struct kobj_attribute attr_gpu_min_clock = __ATTR_RO(gpu_min_clock);
|
||||
|
||||
static ssize_t gpu_max_clock_show(struct kobject *kobj,
|
||||
struct kobj_attribute *attr, char *buf)
|
||||
|
@ -610,7 +610,7 @@ static ssize_t gpu_max_clock_store(struct kobject *kobj,
|
|||
|
||||
return count;
|
||||
}
|
||||
static struct kobj_attribute attr_gpu_max_clock = __ATTR_RW(gpu_max_clock);
|
||||
static struct kobj_attribute attr_gpu_max_clock = __ATTR_RO(gpu_max_clock);
|
||||
|
||||
static ssize_t gpu_siop_max_clock_show(struct kobject *kobj,
|
||||
struct kobj_attribute *attr, char *buf)
|
||||
|
|
Loading…
Add table
Reference in a new issue