usb: audio: do not discard usb_transfer result in usb_audio_send()
Pass result of usb_transfer() as return value to the user,
and allow user to react accordingly, e.g. release net_buf on error.
Signed-off-by:
Chun-Chieh Li <ccli8@nuvoton.com>
Loading
Please sign in to comment