diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2020-05-03 12:47:07 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@kernel.org> | 2020-05-09 10:05:02 +0200 |
commit | 19b94c1f9c9a16d41a8de3ccbdb8536cf1aecdbf (patch) | |
tree | 9be8dd75cbaefad4776d12c0abc490ad0863e3ed /lib/earlycpio.c | |
parent | usb: dwc3: pci: Enable extcon driver for Intel Merrifield (diff) | |
download | linux-19b94c1f9c9a16d41a8de3ccbdb8536cf1aecdbf.tar.xz linux-19b94c1f9c9a16d41a8de3ccbdb8536cf1aecdbf.zip |
usb: gadget: audio: Fix a missing error return value in audio_bind()
If 'usb_otg_descriptor_alloc()' fails, we must return an error code, not 0.
Fixes: 56023ce0fd70 ("usb: gadget: audio: allocate and init otg descriptor by otg capabilities")
Reviewed-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
Diffstat (limited to 'lib/earlycpio.c')
0 files changed, 0 insertions, 0 deletions