kernel - Reduce acpi_ec timeout after failure, silence errors
authorMatthew Dillon <dillon@apollo.backplane.com>
Thu, 23 May 2019 06:27:57 +0000 (23:27 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Thu, 23 May 2019 06:27:57 +0000 (23:27 -0700)
commitf872b7ca718e34eabdf2b2ece571bff7db6bf164
treefc887ab62646394a150c9e496f8a0998a6322dfb
parent09b8e4096c842c23d54e62a2c59e6487d47f868e
kernel - Reduce acpi_ec timeout after failure, silence errors

* Reduce the acpi_ec timeout from 750ms to 100ms after a
  failure.

* Automatically silence... well, all acpi error messages,
  after 10 acpi_ec errors.

* This allows the dell xps-13 to boot in a more reasonable
  period of time and not spew EC errors to the console all
  the time, as a default, without us having to disable EC manually..
sys/dev/acpica/Osd/OsdStream.c
sys/dev/acpica/acpi_ec.c