diff options
author | Johan Hovold <johan@kernel.org> | 2017-01-12 16:56:19 +0300 |
---|---|---|
committer | Johan Hovold <johan@kernel.org> | 2017-01-16 18:38:56 +0300 |
commit | b5fda434b13de8328c57421e31ac91d401c93b97 (patch) | |
tree | ceb3b071d177b8a8b07c498b1bd6d8e1302e0dc9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | cd8db057e93ddaacbec025b567490555d2bca280 (diff) | |
download | linux-b5fda434b13de8328c57421e31ac91d401c93b97.tar.xz |
USB: serial: pl2303: fix line-setting error handling
Make sure to return an error on zero-length transfers when retrieving
the line settings even if the driver currently ignores the return value.
Also remove a redundant check for short transfer when setting the line
settings.
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions