diff options
| author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2020-05-03 12:47:07 +0200 |
|---|---|---|
| committer | blacksuan19 <i@blacksuan19.me> | 2020-05-20 18:36:06 +0800 |
| commit | 3f9737615ae6ecb3eed58be8b9ca0e7eb4fca8e9 (patch) | |
| tree | 55fbe46e76084abb8356be446662fe92396676cb /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | f2a40d385f96c329beed00b5d8075af554cec99f (diff) | |
usb: gadget: audio: Fix a missing error return value in audio_bind()
commit 19b94c1f9c9a16d41a8de3ccbdb8536cf1aecdbf upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
