aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorTakashi Iwai <[email protected]>2017-01-31 16:38:22 +0100
committerTakashi Iwai <[email protected]>2017-02-03 17:34:09 +0100
commitcaa2a61a702a2a391b2fb695fc245ca5b8a4ffd8 (patch)
tree075025a52f934e8d5fb98560d0d30b30f27dbfd4 /tools/perf/util/scripting-engines/trace-event-python.c
parent99b2ab9d3aa08824dfefd7d9ad9f2b4c19555d05 (diff)
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 <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions