summaryrefslogtreecommitdiff
path: root/drivers/misc/ibmasm/command.c
diff options
context:
space:
mode:
authorMohsan Habibi <mohsan@motorola.com>2014-05-13 03:34:24 -0400
committerMohsan Habibi <mohsan@motorola.com>2014-05-13 22:47:48 +0000
commitb63eeea0ee8c639fd37751971df14f89d3ef188e (patch)
tree2421f6c01d3ebf6ef12713b64f7a072d2ab8fd17 /drivers/misc/ibmasm/command.c
parent4f35788d0f75354f071ff0a0b1ee54ef28d6b232 (diff)
downloadolio-linux-3.10-b63eeea0ee8c639fd37751971df14f89d3ef188e.tar.xz
olio-linux-3.10-b63eeea0ee8c639fd37751971df14f89d3ef188e.zip
IKXCLOCK-138 power: minnow-poweroff: avoid delay if no usb cable
The msleep is only needed when a USB cable is plugged in to prevent an automatic power-up during poweroff where the host can't disconnect VBUS as fast (factory). However, since there's no clean way of determining USB cable presence by the time the poweroff handler is called, assume cable presence if USB cable was once connected. Change-Id: I3e8e2e9b07fdc0f96e94ea39b04126110ce78650 Signed-off-by: Mohsan Habibi <mohsan@motorola.com>
Diffstat (limited to 'drivers/misc/ibmasm/command.c')
0 files changed, 0 insertions, 0 deletions