]> git.baikalelectronics.ru Git - kernel.git/commit
ideapad_laptop: Add Lenovo G40-30 to devices without radio switch
authorPhilippe Coval <philippe.coval@open.eurogiciel.org>
Sat, 2 May 2015 13:14:08 +0000 (15:14 +0200)
committerDarren Hart <dvhart@linux.intel.com>
Sun, 3 May 2015 18:03:36 +0000 (11:03 -0700)
commitea04b240d93d2fab5b8251a218913cd0a1666a32
treea39e976a6c2a77469c91a3fd2f1a58df2abc9e08
parentdd4a0ac5a66093ba1477238fa2d0e835dd935ff6
ideapad_laptop: Add Lenovo G40-30 to devices without radio switch

Lenovo G40-30 does not provide any physical radio switch to user.
Therefore disable the rfkill switch identically to the Yoga 2 approach.
(Note for later, models ids are sorted alphabetically).

Benefit is to make wireless available again without unloading module.

It was tested successfully on 4.1.0-rc1 base with this model:
(LENOVO_MT_80FY_BU_idea_FM_Lenovo G40-30).

BugLink: https://bugs.launchpad.net/ideapad-laptop/+bug/1450946
Cc: platform-driver-x86@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Philippe Coval <rzr@gna.org>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
drivers/platform/x86/ideapad-laptop.c