tree 5dbfbaf12052e9fe316b18e150ef50aafee4218c
parent 74b74890bc23b8c6f5b0c0d99f6e1b3d39cb3dae
author Richard Purdie <[EMAIL PROTECTED]> Wed, 07 Sep 2005 05:19:02 -0700
committer Linus Torvalds <[EMAIL PROTECTED]> Thu, 08 Sep 2005 06:57:53 -0700

[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 <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>

 drivers/input/touchscreen/corgi_ts.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/input/touchscreen/corgi_ts.c 
--- 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(in
        if (wait_time && doSend) {
                if (!(pmnc & 0x01))
-                       PMNC_SET(pmnc | 0x01);
+                       PMNC_SET(0x01);
                /* polling HSync */
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to