summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2017-01-31 13:51:07 +0300
committerJohan Hovold <johan@kernel.org>2017-01-31 19:20:37 +0300
commit4481200364ab1d6820a77ed442775a6e4f7c979f (patch)
tree7af600527fc6295571bc86dc49f7c9350bca9c8a /tools/perf/scripts/python
parentea534e0b404762894ac55ee416c0ac9f5cd5045a (diff)
downloadlinux-4481200364ab1d6820a77ed442775a6e4f7c979f.tar.xz
USB: serial: ark3116: fix endpoint-check return value
Return -ENODEV rather than -EINVAL on probe errors due to a missing endpoint. Also clean up the endpoint sanity check somewhat and use the interface device for logging a more compact error in case an expected endpoint is missing. Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions