aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorClemens Ladisch <[email protected]>2012-10-31 16:35:30 +0100
committerClemens Ladisch <[email protected]>2012-11-18 17:15:24 +0100
commite99ddfde6ae0dd2662bb40435696002b590e4057 (patch)
treebd190112eb0dad7aa3222ff86ebeb8cf4ab68ec7 /tools/perf/util/scripting-engines/trace-event-python.c
parenta0d271cbfed1dd50278c6b06bead3d00ba0a88f9 (diff)
ALSA: ua101, usx2y: fix broken MIDI output
Commit 88a8516a2128 (ALSA: usbaudio: implement USB autosuspend) added autosuspend code to all files making up the snd-usb-audio driver. However, midi.c is part of snd-usb-lib and is also used by other drivers, not all of which support autosuspend. Thus, calls to usb_autopm_get_interface() could fail, and this unexpected error would result in the MIDI output being completely unusable. Make it work by ignoring the error that is expected with drivers that do not support autosuspend. Reported-by: Colin Fletcher <[email protected]> Reported-by: Devin Venable <[email protected]> Reported-by: Dr Nick Bailey <[email protected]> Reported-by: Jannis Achstetter <[email protected]> Reported-by: Rui Nuno Capela <[email protected]> Cc: Oliver Neukum <[email protected]> Cc: 2.6.39+ <[email protected]> Signed-off-by: Clemens Ladisch <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions