veyron: disable the wakeup function of gpio-charger
Plugging or unplugging the charger should not wake up the system, so
disable it in user space.
BUG=chrome-os-partner:35723
TEST=cat /sys/class/power_supply/gpio-charger/device/power/wakeup
disable
powerd_dbus_suspend
then plug or unplug the charger, system didn't wake.
Change-Id: I9c3a026a86e53e914dbb9dd33a7e2859837206d9
Signed-off-by: Chris Zhong <zyw@rock-chips.com>
Reviewed-on: https://chromium-review.googlesource.com/254960
Reviewed-by: Dmitry Torokhov <dtor@chromium.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Commit-Queue: Douglas Anderson <dianders@chromium.org>
Trybot-Ready: Douglas Anderson <dianders@chromium.org>
Tested-by: Douglas Anderson <dianders@chromium.org>
(cherry picked from commit f642cbe0058c3973a265c84376fccfde1c01600c)
Reviewed-on: https://chromium-review.googlesource.com/255343
3 files changed