mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-18 19:12:56 +00:00
usb: gadget: u_audio: Check return codes from usb_ep_enable and config_ep_by_speed.
[ Upstream commit76a7bfc445] These functions can fail if descriptors are malformed, or missing, for the selected USB speed. Fixes:eb9fecb9e6("usb: gadget: f_uac2: split out audio core") Fixes:24f779dac8("usb: gadget: f_uac2/u_audio: add feedback endpoint support") Cc: stable@vger.kernel.org Signed-off-by: Chris Wulff <crwulff@gmail.com> Link: https://lore.kernel.org/r/20240721192314.3532697-2-crwulff@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
a6117b3c1b
commit
479e23af20
1 changed files with 34 additions and 8 deletions
Loading…
Add table
Add a link
Reference in a new issue