summaryrefslogtreecommitdiff
path: root/sound/usb/usx2y/usb_stream.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-09-14 17:37:51 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-09-16 11:02:47 +0200
commitec8eeceb06b7a6efb6d924fd2f4ba4ec79ddc7bf (patch)
tree8ff700b0a53fae70f66e782eebeb34b3e464abd3 /sound/usb/usx2y/usb_stream.h
parentbe40c366416bf6ff74b25fd02e38cb6eaba497d1 (diff)
downloadlwn-ec8eeceb06b7a6efb6d924fd2f4ba4ec79ddc7bf.tar.gz
lwn-ec8eeceb06b7a6efb6d924fd2f4ba4ec79ddc7bf.zip
sound: usx2y: move to use usb_control_msg_send()
The usb_control_msg_send() call can handle data on the stack, as well as returning an error if a "short" write happens, so move the driver over to using that call instead. This ends up removing a helper function that is no longer needed. Cc: Jaroslav Kysela <perex@perex.cz> Reviewed-by: Takashi Iwai <tiwai@suse.de> Link: https://lore.kernel.org/r/20200914153756.3412156-7-gregkh@linuxfoundation.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound/usb/usx2y/usb_stream.h')
0 files changed, 0 insertions, 0 deletions