Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

check for power state only when ACPI is available #216

Merged
merged 1 commit into from
Nov 29, 2021

Commits on Nov 26, 2021

  1. check for power state only when ACPI is available

    In bbswitch_off() we use acpi_bus_get_device() to determine the power
    state, but this feature is only available if ACPI is enabled in the
    kernel, so make sure to do this check only when ACPI is available.
    
    Fixes: 5593d95 ("Linux 3.8 compatibility hack")
    Signed-off-by: Dimitri John Ledkov <[email protected]>
    Signed-off-by: Andrea Righi <[email protected]>
    Andrea Righi committed Nov 26, 2021
    Configuration menu
    Copy the full SHA
    83c72d8 View commit details
    Browse the repository at this point in the history