Created
August 21, 2013 13:49
-
-
Save sorgelig/6294673 to your computer and use it in GitHub Desktop.
Fix empty entry of GPU max frequency setting in STweaks
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/drivers/gpu/pvr/services4/system/exynos5410/perseus_dvfs.c b/drivers/gpu/pvr/services4/system/exynos5410/perseus_dvfs.c | |
index dd7ea7d..b2e664a 100644 | |
--- a/drivers/gpu/pvr/services4/system/exynos5410/perseus_dvfs.c | |
+++ b/drivers/gpu/pvr/services4/system/exynos5410/perseus_dvfs.c | |
@@ -141,7 +141,7 @@ static int sec_gpu_lock_control_proc(int bmax, long value, size_t count) | |
static ssize_t get_dvfs_table(struct device *d, struct device_attribute *a, char *buf) | |
{ | |
- return sprintf(buf, "%s\n", sgx_dvfs_table); | |
+ return sprintf(buf, "%s", sgx_dvfs_table); | |
} | |
static DEVICE_ATTR(sgx_dvfs_table, S_IRUGO | S_IRGRP | S_IROTH, get_dvfs_table, 0); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment