projects
/
platform
/
kernel
/
linux-starfive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
[platform/kernel/linux-starfive.git]
/
drivers
/
input
/
keyboard
/
cros_ec_keyb.c
diff --git
a/drivers/input/keyboard/cros_ec_keyb.c
b/drivers/input/keyboard/cros_ec_keyb.c
index
354d74d
..
b379ed7
100644
(file)
--- a/
drivers/input/keyboard/cros_ec_keyb.c
+++ b/
drivers/input/keyboard/cros_ec_keyb.c
@@
-350,7
+350,7
@@
static int cros_ec_keyb_info(struct cros_ec_device *ec_dev,
params->event_type = event_type;
ret = cros_ec_cmd_xfer_status(ec_dev, msg);
- if (ret == -ENO
TSUPP
) {
+ if (ret == -ENO
PROTOOPT
) {
/* With older ECs we just return 0 for everything */
memset(result, 0, result_size);
ret = 0;