]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI: button: Drop no longer necessary Acer SW5-012 lid_init_state quirk
authorHans de Goede <hdegoede@redhat.com>
Mon, 26 Oct 2020 21:28:40 +0000 (22:28 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 28 Oct 2020 12:58:55 +0000 (13:58 +0100)
commite75e03076e0ada2aa02c0624b5744f8c3591e741
tree7485c6c51576492c7d860f87b8c391774d788ee7
parenta1fe7c755400af92f0070a66f48f00b659aeacac
ACPI: button: Drop no longer necessary Acer SW5-012 lid_init_state quirk

Commit 06f703462d21 ("Input: soc_button_array - work around DSDTs which
modify the irqflags") adds a workaround for DSDTs with a _LID method
which play tricks with the irqflags, assuming that the OS is using
an irq-type of IRQ_TYPE_LEVEL_LOW.

Now that this workaround is in place, we no longer need to disable the
lid functionality on the Acer SW5-012.

Fixes: 06f703462d21 ("Input: soc_button_array - work around DSDTs which modify the irqflags")
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/button.c