aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorTakashi Iwai <[email protected]>2022-10-09 12:42:12 +0200
committerTakashi Iwai <[email protected]>2022-10-09 12:43:26 +0200
commit1045f5f1ff0751423aeb65648e5e1abd7a7a8672 (patch)
tree595dd8f43057933559def9ba5459c024afff35b3 /lib/test_fortify/write_overflow-strncpy-src.c
parent9355b60e401d825590d37f04ea873c58efe9b7bf (diff)
ALSA: usb-audio: Avoid superfluous endpoint setup
After splitting to snd_usb_endpoint_set_params() and *_prepare(), the skip of each function should be checked with different flags, while we still use ep->need_setup as the single one. Introduce ep->need_prepare for indicating the need of prepare, and also add the missing check of ep->need_setup at the set_params. Fixes: 2be79d586454 ("ALSA: usb-audio: Split endpoint setups for hw_params and prepare (take#2)") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions