summaryrefslogtreecommitdiff
path: root/tools/perf/util/util.h
diff options
context:
space:
mode:
authorDaniel Drake <dsd@laptop.org>2012-09-03 19:49:09 (GMT)
committerJohn W. Linville <linville@tuxdriver.com>2012-09-05 18:53:36 (GMT)
commitf10723841e624c0726c70356b31d91befed01dd6 (patch)
tree07a8b8b5d035aa239fd020acd4966bac81594c97 /tools/perf/util/util.h
parentefd5d6b03bd9c9e0df646c56fb5f4f3e25e5c1ac (diff)
downloadlinux-fsl-qoriq-f10723841e624c0726c70356b31d91befed01dd6.tar.xz
libertas sdio: fix suspend when interface is down
When the interface is down, the hardware is powered off. However, the suspend handler currently tries to send host sleep commands (when wakeup params are set) in this configuration, causing a system hang when going into suspend (the commands will never complete). Avoid this by detecting this situation and simply returning from the suspend handler without doing anything special. Signed-off-by: Daniel Drake <dsd@laptop.org> Acked-by: Dan Williams <dcbw@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'tools/perf/util/util.h')
0 files changed, 0 insertions, 0 deletions