diff options
author | Tai-hwa Liang <avatar@sentelic.com> | 2011-12-29 09:47:36 -0800 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2011-12-29 09:52:59 -0800 |
commit | 6ccbcf2cb41131f8d56ef0723bf3f7c1f8486076 (patch) | |
tree | a0f8635baccce6f4a19b8c97911aed883b7c48ba /drivers/input/mouse/sentelic.h | |
parent | d9bae67a7a91a6cc2e7a99d5ae72ada62abcc993 (diff) | |
download | talos-obmc-linux-6ccbcf2cb41131f8d56ef0723bf3f7c1f8486076.tar.gz talos-obmc-linux-6ccbcf2cb41131f8d56ef0723bf3f7c1f8486076.zip |
Input: sentelic - fix retrieving number of buttons
Fixing wrong register offset which is used to retrieve the number of buttons
attached to the hardware.
Signed-off-by: Tai-hwa Liang <avatar@sentelic.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/mouse/sentelic.h')
-rw-r--r-- | drivers/input/mouse/sentelic.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/input/mouse/sentelic.h b/drivers/input/mouse/sentelic.h index ed1395ac7b8b..2e4af24f8c15 100644 --- a/drivers/input/mouse/sentelic.h +++ b/drivers/input/mouse/sentelic.h @@ -2,7 +2,7 @@ * Finger Sensing Pad PS/2 mouse driver. * * Copyright (C) 2005-2007 Asia Vital Components Co., Ltd. - * Copyright (C) 2005-2009 Tai-hwa Liang, Sentelic Corporation. + * Copyright (C) 2005-2011 Tai-hwa Liang, Sentelic Corporation. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -33,6 +33,7 @@ /* Finger-sensing Pad control registers */ #define FSP_REG_SYSCTL1 0x10 #define FSP_BIT_EN_REG_CLK BIT(5) +#define FSP_REG_TMOD_STATUS 0x20 #define FSP_REG_OPC_QDOWN 0x31 #define FSP_BIT_EN_OPC_TAG BIT(7) #define FSP_REG_OPTZ_XLO 0x34 |