summaryrefslogtreecommitdiff
path: root/.checkpatch.conf
diff options
context:
space:
mode:
authorPeter Marheine <pmarheine@chromium.org>2020-01-20 13:18:14 +1100
committerCommit Bot <commit-bot@chromium.org>2020-01-21 00:59:51 +0000
commit1afa04df3f399d5885ada9a9fbaec0f208f47bad (patch)
treecb42df5e280bc7a4a781bd9675c2d983fec02578 /.checkpatch.conf
parentadd663e8d4bd0d756e8bbdb40b819abdfb27ea8a (diff)
downloadchrome-ec-1afa04df3f399d5885ada9a9fbaec0f208f47bad.tar.gz
puff: always claim AC power is online
powerd logs lots of warnings if it can't see any online power supplies, which could be the case when the EC comes up without the barrel jack then boots with it- the host flag never gets updated. Since we don't have a battery on puff and we don't allow switching power sources while the system is on (we gate the inactive one), just always say there is external power (because there is). BUG=b:147977614 TEST=/sys/class/power_supply/AC/online is now always 1, even when running on USB-C. BRANCH=None Change-Id: I87345b8a3f07a88f2dccda4b7226bf0b8ee07e2f Signed-off-by: Peter Marheine <pmarheine@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2009529 Reviewed-by: Sam McNally <sammc@chromium.org>
Diffstat (limited to '.checkpatch.conf')
0 files changed, 0 insertions, 0 deletions