UPSTREAM: usb: gadget: u_audio: Check return codes from usb_ep_enable and config_ep_by_speed.
These functions can fail if descriptors are malformed, or missing, for the selected USB speed. Bug: 254441685 Fixes: eb9fecb9 ("usb: gadget: f_uac2: split out audio core") Fixes: 24f779da ("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> (cherry picked from commit 76a7bfc4) Signed-off-by:
Lee Jones <joneslee@google.com> Change-Id: Id4e0f235ee4153c2400945aff1a42aacbba3bc31
Loading
Please sign in to comment