diff options
author | Ivo van Doorn | 2008-03-13 15:38:03 +0100 |
---|---|---|
committer | John W. Linville | 2008-03-13 20:57:26 +0100 |
commit | 1682fe6de206bd1e937529cbb393915e5ea40b2c (patch) | |
tree | 4890282b3ea30708d27667015664d6b742261277 /block/noop-iosched.c | |
parent | ath5k: disable irq handling in ath5k_hw_detach() (diff) | |
download | kernel-qcow2-linux-1682fe6de206bd1e937529cbb393915e5ea40b2c.tar.gz kernel-qcow2-linux-1682fe6de206bd1e937529cbb393915e5ea40b2c.tar.xz kernel-qcow2-linux-1682fe6de206bd1e937529cbb393915e5ea40b2c.zip |
rt2x00: Add suspend/resume handlers to rt2x00rfkill
Add suspend/resume handlers to rt2x00rfkill to have it stop
the input-polldev and prevent it from calling rt2x00 during
suspend period. This could lead to a NULL pointer fault when
rt2x00 suspended, but polldev send a request, because
the csr_addr is NULL.
Also don't let the rfkill allocation/registration block
the initialization of the entire device. Just print a warning
and continue as if nothing happened.
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'block/noop-iosched.c')
0 files changed, 0 insertions, 0 deletions