diff options
author | 2020-08-22 08:08:55 -0700 | |
---|---|---|
committer | 2020-08-24 11:37:34 +0200 | |
commit | b4e452b5e97dc70d529475168a37ad7394994b8b (patch) | |
tree | ce984c367ec3ff307d28a9ae825c59da588454d3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | pwm: cros-ec: Accept more error codes from cros_ec_cmd_xfer_status (diff) | |
download | wireguard-linux-b4e452b5e97dc70d529475168a37ad7394994b8b.tar.xz wireguard-linux-b4e452b5e97dc70d529475168a37ad7394994b8b.zip |
platform/input: cros_ec: Replace -ENOTSUPP with -ENOPROTOOPT
-ENOTSUPP is not a SUSV4 error code and should not be used. Use
-ENOPROTOOPT instead to report EC_RES_INVALID_VERSION responses
from the EC. This matches match the NFS response for unsupported
protocol versions.
Cc: Gwendal Grignou <gwendal@chromium.org>
Cc: Yu-Hsuan Hsu <yuhsuan@chromium.org>
Cc: Prashant Malani <pmalani@chromium.org>
Cc: Brian Norris <briannorris@chromium.org>
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions