summaryrefslogtreecommitdiffstats
path: root/include/linux/page-isolation.h
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2012-03-06 09:10:21 -0800
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2012-03-06 11:03:30 -0800
commit104a5f3cad8f2f27cadbdf0029400ecd9e17ccc0 (patch)
treec64b1a3c71e5688631fbdbbd07e59f025066269f /include/linux/page-isolation.h
parentadab30d73844076b6ca9cd3e6382f5db3a44ded4 (diff)
downloadblackbird-op-linux-104a5f3cad8f2f27cadbdf0029400ecd9e17ccc0.tar.gz
blackbird-op-linux-104a5f3cad8f2f27cadbdf0029400ecd9e17ccc0.zip
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>
Diffstat (limited to 'include/linux/page-isolation.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud