summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2017-01-31 18:38:22 +0300
committerTakashi Iwai <tiwai@suse.de>2017-02-03 19:34:09 +0300
commitcaa2a61a702a2a391b2fb695fc245ca5b8a4ffd8 (patch)
tree075025a52f934e8d5fb98560d0d30b30f27dbfd4 /tools/perf/scripts/python/syscall-counts.py
parent99b2ab9d3aa08824dfefd7d9ad9f2b4c19555d05 (diff)
downloadlinux-caa2a61a702a2a391b2fb695fc245ca5b8a4ffd8.tar.xz
ALSA: x86: Remove superfluous check at resume
The had_get_hwstate() is identical with drv_status==DISCONECTED, which was already checked before the call. And, returning an error at resume is simply bad. That is, we should just kill this check. Also, spewing an error at resume for drv_status!=SUSPENDED is also annoying, as this is the normal case when the suspend was called without the monitor connection. Make it debug, too. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions