Replace acpi_ac_off USE flag with acpi_ac |
||
Issue descriptionWe currently have a acpi_ac_off USE flag that gets set in board overlays where we want to disable the ACPI AC driver in the kernel (typically because they have USB Type-C ports and we want to use the PD driver instead). acpi_ac_off is listed in CONFIG_FRAGMENTS in the cros-kernel2.eclass file and then used to disable CONFIG_ACPI_AC in the kernel config: acpi_ac_off_desc="Turn off ACPI AC" acpi_ac_off_config=" # CONFIG_ACPI_AC is not set " This feels backwards from the usual way that USE flags work, i.e. it'd usually instead be named acpi_ac, enabled by default, and then explicitly unset in board overlays that want to disable the driver.
,
May 10 2018
The following revision refers to this bug: https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/331c176c3df9be2ce4c5d46859f8f9964fe91f50 commit 331c176c3df9be2ce4c5d46859f8f9964fe91f50 Author: Daniel Erat <derat@chromium.org> Date: Thu May 10 22:09:36 2018 cros-kernel2: Replace acpi_ac_off USE flag with acpi_ac. Update cros-kernel2.eclass to use a set-by-default acpi_ac USE flag rather than an unset-by-default acpi_ac_off for controlling CONFIG_ACPI_AC. BUG= chromium:838360 TEST=none CQ-DEPEND=I61b5c08d8e9fb50977a0a91f21392405acd3d8d8 Change-Id: I2f340f6425caeb8163ae84738c154fc815f14662 Reviewed-on: https://chromium-review.googlesource.com/1036187 Commit-Ready: Dan Erat <derat@chromium.org> Tested-by: Dan Erat <derat@chromium.org> Reviewed-by: Mike Frysinger <vapier@chromium.org> [modify] https://crrev.com/331c176c3df9be2ce4c5d46859f8f9964fe91f50/profiles/targets/chromeos/make.defaults [modify] https://crrev.com/331c176c3df9be2ce4c5d46859f8f9964fe91f50/eclass/cros-kernel2.eclass
,
May 10 2018
|
||
►
Sign in to add a comment |
||
Comment 1 by bugdroid1@chromium.org
, May 10 2018