summaryrefslogtreecommitdiffstats
path: root/drivers/hid
diff options
context:
space:
mode:
authorAntonio Ospite <ao2@ao2.it>2016-01-28 18:23:41 +0100
committerJiri Kosina <jkosina@suse.cz>2016-01-29 17:12:31 +0100
commit313726cad3b68039c8e4dcad5a2840a0d375678c (patch)
treee70a0edd74aceb69ec73b35c7af74fe03f353899 /drivers/hid
parent71d362be0a9896e094601ac5f723f942cdfb0be9 (diff)
downloadop-kernel-dev-313726cad3b68039c8e4dcad5a2840a0d375678c.zip
op-kernel-dev-313726cad3b68039c8e4dcad5a2840a0d375678c.tar.gz
HID: dragonrise: fix a typo in descriptors comments s/Joystik/Joystick/
Signed-off-by: Antonio Ospite <ao2@ao2.it> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid')
-rw-r--r--drivers/hid/hid-dr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/hid/hid-dr.c b/drivers/hid/hid-dr.c
index 1d78ba3..8fd4bf7 100644
--- a/drivers/hid/hid-dr.c
+++ b/drivers/hid/hid-dr.c
@@ -151,7 +151,7 @@ static inline int drff_init(struct hid_device *hid)
* descriptor. In any case, it's a wonder it works on Windows.
*
* Usage Page (Desktop), ; Generic desktop controls (01h)
- * Usage (Joystik), ; Joystik (04h, application collection)
+ * Usage (Joystick), ; Joystick (04h, application collection)
* Collection (Application),
* Collection (Logical),
* Report Size (8),
@@ -207,7 +207,7 @@ static inline int drff_init(struct hid_device *hid)
/* Fixed report descriptor for PID 0x011 joystick */
static __u8 pid0011_rdesc_fixed[] = {
0x05, 0x01, /* Usage Page (Desktop), */
- 0x09, 0x04, /* Usage (Joystik), */
+ 0x09, 0x04, /* Usage (Joystick), */
0xA1, 0x01, /* Collection (Application), */
0xA1, 0x02, /* Collection (Logical), */
0x14, /* Logical Minimum (0), */
OpenPOWER on IntegriCloud