]> git.baikalelectronics.ru Git - kernel.git/commit
sound: hiface: move to use usb_control_msg_send()
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 Sep 2020 15:37:54 +0000 (17:37 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Sep 2020 09:02:56 +0000 (11:02 +0200)
commiteb6a2a28a6c7ccaaf4f8f8f590982c58716ae657
tree6443cb175bb7e897c2beeaed7d4a2f915022e7ea
parent97fa073b6e22e5661dbcdd82ed04b7445c9d4e3c
sound: hiface: move to use usb_control_msg_send()

The usb_control_msg_send() call can return an error if a "short" write
happens, so move the driver over to using that call instead.

Cc: Jaroslav Kysela <perex@perex.cz>
Reviewed-by: Takashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/r/20200914153756.3412156-10-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/usb/hiface/pcm.c