summaryrefslogtreecommitdiffstats
path: root/sound/atmel
diff options
context:
space:
mode:
authorAlan Jenkins <alan-jenkins@tuffmail.co.uk>2009-06-16 14:53:24 +0100
committerJohn W. Linville <linville@tuxdriver.com>2009-06-19 11:50:17 -0400
commit7fa20a7f60df0afceafbb8197b5d110507f42c72 (patch)
tree4f27f607618bc48c9b8c83f4169af70abac913d3 /sound/atmel
parentf0214843ba23d9bf6dc6b8ad2c6ee27b60f0322e (diff)
downloadop-kernel-dev-7fa20a7f60df0afceafbb8197b5d110507f42c72.zip
op-kernel-dev-7fa20a7f60df0afceafbb8197b5d110507f42c72.tar.gz
rfkill: rfkill_set_block() when suspended nitpick
If we return after fiddling with the state, userspace will see the wrong state and rfkill_set_sw_state() won't work until the next call to rfkill_set_block(). At the moment rfkill_set_block() will always be called from rfkill_resume(), but this will change in future. Also, presumably the point of this test is to avoid bothering devices which may be suspended. If we don't want to call set_block(), we probably don't want to call query() either :-). Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'sound/atmel')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud