104a5f3cad8f2f27cadbdf0029400ecd9e17ccc0 |
|
06-Mar-2012 |
Dmitry Torokhov <dmitry.torokhov@gmail.com> |
Input: max8925_onkey - avoid accessing input device too early Input device must be allocated (but not necessarily registered) before requesting IRQs, otherwise there is a chance that IRQ handler fires and tries to reference not yet allocated input device. Also it makes sense to store relative IRQ numbers in max8925_onkey_info structure as they are needed in suspend/resume which we expect to be called more often than probe and remove. Acked-by: Haojian Zhuang <haojian.zhuang@gmail.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
/drivers/input/misc/max8925_onkey.c
|
adab30d73844076b6ca9cd3e6382f5db3a44ded4 |
|
06-Mar-2012 |
Kevin Liu <kliu5@marvell.com> |
Input: max8925_onkey - allow to be used as a wakeup source Implement suspend and resume methods to set up devices as wakeup source. Signed-off-by: Kevin Liu <kliu5@marvell.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
/drivers/input/misc/max8925_onkey.c
|
840a746be2beddd2ada0e5ba772147316d071f25 |
|
29-Nov-2011 |
JJ Ding <dgdunix@gmail.com> |
Input: misc - use macro module_platform_driver() Commit 940ab88962bc1aff3273a8356d64577a6e386736 introduced a new macro to save some platform_driver boilerplate code. Use it. Signed-off-by: JJ Ding <dgdunix@gmail.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
/drivers/input/misc/max8925_onkey.c
|
2d95ae3bbffe54b2e73e0d291e1d67e09d5e448f |
|
08-Sep-2010 |
Haojian Zhuang <haojian.zhuang@gmail.com> |
input: Monitor both onkey up and down event Remove original 3-second ONKEY event. Detect ONKEY changing event directly. So both UP and DOWN event of ONKEY in max8925 are monitered. Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com> Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
/drivers/input/misc/max8925_onkey.c
|
3734574cac1002e4cf037e3591cf222b1e04dfa4 |
|
22-May-2010 |
Haojian Zhuang <haojian.zhuang@gmail.com> |
Input: enable onkey driver of max8925 When ONKEY is held for 3 seconds, KEY_POWER event is reported. Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
/drivers/input/misc/max8925_onkey.c
|