From: Ivo van Doorn Date: Thu, 13 Mar 2008 14:38:03 +0000 (+0100) Subject: rt2x00: Add suspend/resume handlers to rt2x00rfkill X-Git-Tag: v2.6.25-rc7~54^2~22^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1682fe6de206bd1e937529cbb393915e5ea40b2c;p=pandora-kernel.git 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 Signed-off-by: John W. Linville --- Reading git-diff-tree failed