From: Hans de Goede Date: Tue, 24 Dec 2013 19:34:01 +0000 (+0100) Subject: dell-laptop: Only install the i8042 filter when rfkill is active X-Git-Tag: v3.14-rc1~54^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97f440c23f2b02fac8af0558cba9ca0bed603794;p=pandora-kernel.git dell-laptop: Only install the i8042 filter when rfkill is active Installing the i8042 filter is not useful on machines where rfkill is not whitelisted, so move the filter installation into dell_setup_rfkill, after the whitelist check. This avoids doing a needless and potentially troublesome rfkill query (dell_send_request(buf, 17, 11)) when the wireless Fn key gets pressed on non whitelisted laptops. This patch was written as a result of: https://bugzilla.redhat.com/show_bug.cgi?id=1045807 It is not yet clear if this is related, but it is a good idea to not register the i8042 filter in general. Signed-off-by: Hans de Goede Signed-off-by: Matthew Garrett --- Reading git-diff-tree failed