diff options
author | Takashi Iwai <[email protected]> | 2024-08-08 11:15:12 +0200 |
---|---|---|
committer | Takashi Iwai <[email protected]> | 2024-08-08 11:16:06 +0200 |
commit | c01f3815453e2d5f699ccd8c8c1f93a5b8669e59 (patch) | |
tree | f95b41cf1d336c1cfadd0ca24002e1055969cbba /tools/perf/scripts/python/intel-pt-events.py | |
parent | 7b986c7430a6bb68d523dac7bfc74cbd5b44ef96 (diff) |
ALSA: hdsp: Break infinite MIDI input flush loop
The current MIDI input flush on HDSP and HDSPM drivers relies on the
hardware reporting the right value. If the hardware doesn't give the
proper value but returns -1, it may be stuck at an infinite loop.
Add a counter and break if the loop is unexpectedly too long.
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions