Re: [PATCH 06/10] sound: usx2y: move to use usb_control_msg_send()

2020-09-02 Thread Takashi Iwai
On Wed, 02 Sep 2020 13:01:08 +0200, Greg Kroah-Hartman wrote: > > 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

[PATCH 06/10] sound: usx2y: move to use usb_control_msg_send()

2020-09-02 Thread Greg Kroah-Hartman
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 Cc: Takashi Iwai Cc: