diff options
author | Yang Yingliang <[email protected]> | 2020-11-17 17:29:55 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2020-12-28 15:45:50 +0100 |
commit | c91d3a6bcaa031f551ba29a496a8027b31289464 (patch) | |
tree | c10843c0857252c9aeb9949a5158b9c0aae9e340 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 5cc35c224a80aa5a5a539510ef049faf0d6ed181 (diff) |
USB: gadget: legacy: fix return error code in acm_ms_bind()
If usb_otg_descriptor_alloc() failed, it need return ENOMEM.
Fixes: 578aa8a2b12c ("usb: gadget: acm_ms: allocate and init otg descriptor by otg capabilities")
Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Yang Yingliang <[email protected]>
Cc: stable <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions