diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-09-14 17:37:51 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-09-16 11:02:47 +0200 |
commit | ec8eeceb06b7a6efb6d924fd2f4ba4ec79ddc7bf (patch) | |
tree | 8ff700b0a53fae70f66e782eebeb34b3e464abd3 /sound/usb/usx2y/usb_stream.h | |
parent | be40c366416bf6ff74b25fd02e38cb6eaba497d1 (diff) | |
download | lwn-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