aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorDmitry Torokhov <[email protected]>2012-03-06 17:10:21 +0000
committerDmitry Torokhov <[email protected]>2012-03-06 19:03:30 +0000
commit104a5f3cad8f2f27cadbdf0029400ecd9e17ccc0 (patch)
treec64b1a3c71e5688631fbdbbd07e59f025066269f /fs/jbd2/commit.c
parentInput: max8925_onkey - allow to be used as a wakeup source (diff)
downloadkernel-104a5f3cad8f2f27cadbdf0029400ecd9e17ccc0.tar.gz
kernel-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 <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions