Skip to content

Commit a7156d8

Browse files
hadessJiri Kosina
authored andcommitted
HID: logitech-hidpp: Rename HID++ "internal" error constant
As per the upstream "hidpp" helpers commit: " There has been some confusion about error value 5 but feature specs that refer to it generally use NOT_ALLOWED. " Signed-off-by: Bastien Nocera <[email protected]> Link: mrubli/hidpp@80c3fec Signed-off-by: Jiri Kosina <[email protected]>
1 parent 1d75460 commit a7156d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/hid/hid-logitech-hidpp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ struct hidpp_device {
228228
#define HIDPP20_ERROR_INVALID_ARGS 0x02
229229
#define HIDPP20_ERROR_OUT_OF_RANGE 0x03
230230
#define HIDPP20_ERROR_HW_ERROR 0x04
231-
#define HIDPP20_ERROR_LOGITECH_INTERNAL 0x05
231+
#define HIDPP20_ERROR_NOT_ALLOWED 0x05
232232
#define HIDPP20_ERROR_INVALID_FEATURE_INDEX 0x06
233233
#define HIDPP20_ERROR_INVALID_FUNCTION_ID 0x07
234234
#define HIDPP20_ERROR_BUSY 0x08

0 commit comments

Comments
 (0)