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)
commit119ae38a5cdfbefdf926b34fbf65cd60dc82c95e
tree6443cb175bb7e897c2beeaed7d4a2f915022e7ea
parentf7ef7614f89e943d7511ee121b0b849f27b60cb2
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