From: Hans de Goede Date: Sun, 17 Nov 2013 13:00:23 +0000 (+0100) Subject: dell-laptop: Sync current block state to BIOS on hw switch change X-Git-Tag: v3.13-rc2~36^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04c9a3a06c47b337b90a91e458716262cc45b103;p=pandora-kernel.git dell-laptop: Sync current block state to BIOS on hw switch change This is necessary for 3 reasons: 1) To apply sw_state changes made while hw-blocked 2) To set all the blocked bits for hw-switch controlled radios to 1 when the switch gets changed to off, this is necessary on some models to actually turn the radio status LEDs off. 3) On some models non hw-switch controlled radios will have their block bit cleared (potentially undoing a soft-block) on hw-switch toggle, this restores the sw-block in this case. Signed-off-by: Hans de Goede Signed-off-by: Matthew Garrett --- Reading git-diff-tree failed