aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2005-09-06 18:19:02 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2005-09-07 19:57:53 -0400
commit8cc3c7af42aa826d413e3134628d85f3920457d8 (patch)
tree5dbfbaf12052e9fe316b18e150ef50aafee4218c
parent74b74890bc23b8c6f5b0c0d99f6e1b3d39cb3dae (diff)
[PATCH] Corgi touchscreen: Fix a pmu bug
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>
-rw-r--r--drivers/input/touchscreen/corgi_ts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/corgi_ts.c b/drivers/input/touchscreen/corgi_ts.c
index 768ab4a55630..512940ecb357 100644
--- 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
105 if (wait_time && doSend) { 105 if (wait_time && doSend) {
106 PMNC_GET(pmnc); 106 PMNC_GET(pmnc);
107 if (!(pmnc & 0x01)) 107 if (!(pmnc & 0x01))
108 PMNC_SET(pmnc | 0x01); 108 PMNC_SET(0x01);
109 109
110 /* polling HSync */ 110 /* polling HSync */
111 SyncHS(); 111 SyncHS();