Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=9bc83dcff8fab1f22048c8f82deb3198ec44d53f
Commit:     9bc83dcff8fab1f22048c8f82deb3198ec44d53f
Parent:     b06824cecafdacf2b12de583d4b41fd9c583c8c4
Author:     Fabrice Knevez <[EMAIL PROTECTED]>
AuthorDate: Thu Dec 14 15:20:29 2006 -0800
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Sun Dec 17 14:06:58 2006 -0800

    [SUNKBD]: Fix sunkbd_enable(sunkbd, 0); obvious.
    
    "sunkbd_enable(sunkbd, 0);" has no effect. Adding "sunkbd->enabled =
    enable" in sunkbd_enable (obvious)
    
    Signed-off-by: Fabrice Knevez <[EMAIL PROTECTED]>
    Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
---
 drivers/input/keyboard/sunkbd.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/input/keyboard/sunkbd.c b/drivers/input/keyboard/sunkbd.c
index 3826db9..cc02383 100644
--- a/drivers/input/keyboard/sunkbd.c
+++ b/drivers/input/keyboard/sunkbd.c
@@ -225,7 +225,7 @@ static void sunkbd_reinit(struct work_struct *work)
 static void sunkbd_enable(struct sunkbd *sunkbd, int enable)
 {
        serio_pause_rx(sunkbd->serio);
-       sunkbd->enabled = 1;
+       sunkbd->enabled = enable;
        serio_continue_rx(sunkbd->serio);
 }
 
-
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  http://vger.kernel.org/majordomo-info.html

Reply via email to