Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=62e729b648c980dfdbfdf8d677cde0d78cd4a51d
Commit:     62e729b648c980dfdbfdf8d677cde0d78cd4a51d
Parent:     9d5657db8c4a485b56b5c9174b52bab39b2fd16e
Author:     Dmitry Torokhov <[EMAIL PROTECTED]>
AuthorDate: Fri Oct 12 14:19:50 2007 -0400
Committer:  Dmitry Torokhov <[EMAIL PROTECTED]>
CommitDate: Fri Oct 12 14:19:50 2007 -0400

    Input: lifebook - fix X and Y axis range
    
    Possible range when using 6-byte protocol is 4096 and 1024 for
    3-byte protocol. We had it reversed.
    
    Signed-off-by: Dmitry Torokhov <[EMAIL PROTECTED]>
---
 drivers/input/mouse/lifebook.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/input/mouse/lifebook.c b/drivers/input/mouse/lifebook.c
index b5ee346..9561dee 100644
--- a/drivers/input/mouse/lifebook.c
+++ b/drivers/input/mouse/lifebook.c
@@ -290,7 +290,7 @@ static int lifebook_create_relative_device(struct psmouse 
*psmouse)
 int lifebook_init(struct psmouse *psmouse)
 {
        struct input_dev *dev1 = psmouse->dev;
-       int max_coord = lifebook_use_6byte_proto ? 1024 : 4096;
+       int max_coord = lifebook_use_6byte_proto ? 4096 : 1024;
 
        if (lifebook_absolute_mode(psmouse))
                return -1;
-
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