diff options
| author | Christophe JAILLET <[email protected]> | 2020-05-03 10:47:07 +0000 |
|---|---|---|
| committer | Felipe Balbi <[email protected]> | 2020-05-09 08:05:02 +0000 |
| commit | 19b94c1f9c9a16d41a8de3ccbdb8536cf1aecdbf (patch) | |
| tree | 9be8dd75cbaefad4776d12c0abc490ad0863e3ed /tools/perf/scripts/python | |
| parent | usb: dwc3: pci: Enable extcon driver for Intel Merrifield (diff) | |
| download | kernel-19b94c1f9c9a16d41a8de3ccbdb8536cf1aecdbf.tar.gz kernel-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 <[email protected]>
Signed-off-by: Christophe JAILLET <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
