git.openpandora.org
/
pandora-misc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
2af07ad
)
op_gammatool: update sysfs path for new kernel
author
Grazvydas Ignotas
<notasas@gmail.com>
Mon, 9 Apr 2012 16:16:28 +0000
(19:16 +0300)
committer
Grazvydas Ignotas
<notasas@gmail.com>
Mon, 9 Apr 2012 16:16:52 +0000
(19:16 +0300)
op_gammatool.c
patch
|
blob
|
history
diff --git
a/op_gammatool.c
b/op_gammatool.c
index
cda8e01
..
964ece3
100644
(file)
--- a/
op_gammatool.c
+++ b/
op_gammatool.c
@@
-245,7
+245,9
@@
int main(int argc, char *argv[])
}
ret = 0;
- f = fopen("/sys/devices/platform/omap2_mcspi.1/spi1.1/gamma", "r+");
+ f = fopen("/sys/devices/platform/omapdss/display0/gamma", "r+");
+ if (f == NULL)
+ f = fopen("/sys/devices/platform/omap2_mcspi.1/spi1.1/gamma", "r+");
if (f != NULL) {
int *g = gamma;
rewind(f);