summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorWei Ming Chen <jj251510319013@gmail.com>2022-03-11 16:29:45 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-03-15 15:31:39 +0100
commit0d48aee69c71f073571dbbf6da119cc12fea70df (patch)
treeecee05f7421dd395a424963680e3ea28582db8a9 /tools/perf/scripts/python/export-to-postgresql.py
parent801109b1a37ad99784e6370cc7e462596f505ea3 (diff)
usb: raw-gadget: return -EINVAL if no proper ep address available
If we try to use raw_ioctl_ep_enable() for ep5in on a hardware that only support from ep1-ep4 for both in and out direction, it will return -EBUSY originally. I think it will be more intuitive if we return -EINVAL, because -EBUSY sounds like ep5in is not available now, but might be available in the future. Reviewed-by: Andrey Konovalov <andreyknvl@gmail.com> Signed-off-by: Wei Ming Chen <jj251510319013@gmail.com> Link: https://lore.kernel.org/r/20220311082944.4881-1-jj251510319013@gmail.com 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