summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_files.py
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2024-08-08 12:15:12 +0300
committerTakashi Iwai <tiwai@suse.de>2024-08-08 12:16:06 +0300
commitc01f3815453e2d5f699ccd8c8c1f93a5b8669e59 (patch)
treef95b41cf1d336c1cfadd0ca24002e1055969cbba /scripts/lib/kdoc/kdoc_files.py
parent7b986c7430a6bb68d523dac7bfc74cbd5b44ef96 (diff)
downloadlinux-c01f3815453e2d5f699ccd8c8c1f93a5b8669e59.tar.xz
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/20240808091513.31380-1-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions