Skip to content

Instantly share code, notes, and snippets.

@sorgelig
Created August 21, 2013 13:49
Show Gist options
  • Save sorgelig/6294673 to your computer and use it in GitHub Desktop.
Save sorgelig/6294673 to your computer and use it in GitHub Desktop.
Fix empty entry of GPU max frequency setting in STweaks
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