From patchwork Thu Jan 28 17:23:41 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonio Ospite X-Patchwork-Id: 8152691 Return-Path: X-Original-To: patchwork-linux-input@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id E8DCC9F440 for ; Thu, 28 Jan 2016 17:29:48 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E4EEE20374 for ; Thu, 28 Jan 2016 17:29:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D609220364 for ; Thu, 28 Jan 2016 17:29:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1945990AbcA1R3n (ORCPT ); Thu, 28 Jan 2016 12:29:43 -0500 Received: from smtp206.alice.it ([82.57.200.102]:27598 "EHLO smtp206.alice.it" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1946090AbcA1R3k (ORCPT ); Thu, 28 Jan 2016 12:29:40 -0500 X-Greylist: delayed 335 seconds by postgrey-1.27 at vger.kernel.org; Thu, 28 Jan 2016 12:29:39 EST Received: from jcn (82.57.78.224) by smtp206.alice.it (8.6.060.28) id 56139B83183183D0; Thu, 28 Jan 2016 18:23:51 +0100 Received: from ao2 by jcn with local (Exim 4.86) (envelope-from ) id 1aOqIP-0006y1-6x; Thu, 28 Jan 2016 18:23:49 +0100 From: Antonio Ospite To: linux-input@vger.kernel.org Cc: Jiri Kosina , Frank Praznik , Antonio Ospite Subject: [PATCH 1/7] HID: dragonrise: fix a typo in descriptors comments s/Joystik/Joystick/ Date: Thu, 28 Jan 2016 18:23:41 +0100 Message-Id: <1454001827-26732-2-git-send-email-ao2@ao2.it> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1454001827-26732-1-git-send-email-ao2@ao2.it> References: <1454001827-26732-1-git-send-email-ao2@ao2.it> X-Face: z*RaLf`X<@C75u6Ig9}{oW$H; 1_\2t5)({*|jhM/Vb; ]yA5\I~93>J<_`<4)A{':UrE Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Antonio Ospite --- drivers/hid/hid-dr.c | 4 ++-- 1 file 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), */