• Ike Panhc's avatar
    ideapad: Add param: no_bt_rfkill · bfa97b7d
    Ike Panhc authored
    Add new module parameter that force module not to register bluetooth rfkill.
    
    There is report that saying using this bluetooth rfkill to enable/disable
    bluetooth will let bluetooth device initial failed when enable on Lenovo
    ideapad S12. Fortunately there is another rfkill registered by bluetooth
    driver for S12 and user can shutdown the bluetooth by either bluetooth driver
    or HW RF switch.
    
    For dual OS user, it may have some trouble that using Linux after turning off
    bluetooth with another OS if we do not register bluetooth rfkill at all. So
    we will force bluetooth enable when no_bt_rfkill=1.
    Signed-off-by: default avatarIke Panhc <ike.pan@canonical.com>
    Tested-by: default avatarMario 'BitKoenig' Holbe <Mario.Holbe@TU-Ilmenau.DE>
    Signed-off-by: default avatarMatthew Garrett <mjg@redhat.com>
    bfa97b7d
ideapad-laptop.c 9.2 KB