diff options
author | Pali Rohár <pali.rohar@gmail.com> | 2015-06-06 10:23:30 +0200 |
---|---|---|
committer | Darren Hart <dvhart@linux.intel.com> | 2015-06-10 22:04:28 -0700 |
commit | f8358578e2f23bd82d0454c17676bdb28a40664a (patch) | |
tree | e1b1039d0710ffb59ea79cd688b54dbd7e69f78a /drivers/media/v4l2-core/videobuf-dma-contig.c | |
parent | b05ffc95f9ed986534b67538e239e9c4ba254b55 (diff) | |
download | talos-op-linux-f8358578e2f23bd82d0454c17676bdb28a40664a.tar.gz talos-op-linux-f8358578e2f23bd82d0454c17676bdb28a40664a.zip |
dell-laptop: Use dell-rbtn instead i8042 filter when possible
Until now module dell-laptop registered rfkill device which used i8042
filter function for receiving HW switch rfkill events (handling special
keycode).
But for some dell laptops there is native ACPI driver dell-rbtn which can
receive rfkill events (without i8042 hooks).
So this patch will combine best from both sides. It will use native ACPI
driver dell-rbtn for receiving events and dell-laptop SMBIOS interface for
enabling or disabling radio devices. If ACPI driver or device will not be
available fallback to i8042 filter function will be used.
Patch also changes module_init() to late_initcall() to ensure that init
function will be called after initializing dell-rbtn.c driver.
Signed-off-by: Pali Rohár <pali.rohar@gmail.com>
Tested-by: Gabriele Mazzotta <gabriele.mzt@gmail.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Diffstat (limited to 'drivers/media/v4l2-core/videobuf-dma-contig.c')
0 files changed, 0 insertions, 0 deletions