projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74b7489
)
[PATCH] Corgi touchscreen: Fix a pmu bug
author
Richard Purdie
<rpurdie@rpsys.net>
Tue, 6 Sep 2005 22:19:02 +0000
(15:19 -0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Wed, 7 Sep 2005 23:57:53 +0000
(16:57 -0700)
Corgi Touchscreen bugfix. If the PMU isn't running, the register needs to
be set to a sane value rather than reusing some random value.
Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/input/touchscreen/corgi_ts.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/input/touchscreen/corgi_ts.c
b/drivers/input/touchscreen/corgi_ts.c
index 768ab4a556301185e2868805019d813f33424315..512940ecb357ee33b1ae443c302272b28163d02e 100644
(file)
--- a/
drivers/input/touchscreen/corgi_ts.c
+++ b/
drivers/input/touchscreen/corgi_ts.c
@@
-105,7
+105,7
@@
static int sync_receive_data_send_cmd(int doRecive, int doSend, unsigned int add
if (wait_time && doSend) {
PMNC_GET(pmnc);
if (!(pmnc & 0x01))
- PMNC_SET(
pmnc |
0x01);
+ PMNC_SET(0x01);
/* polling HSync */
SyncHS();