From: David Herrmann <dh.herrmann@googlemail.com>
To: linux-input@vger.kernel.org
Cc: jkosina@suse.cz, David Herrmann <dh.herrmann@googlemail.com>
Subject: [PATCH 0/3] HID: Add HID_CLAIMED_OTHER device flag
Date: Sun, 15 Jul 2012 20:21:46 +0200 [thread overview]
Message-ID: <1342376509-7228-1-git-send-email-dh.herrmann@googlemail.com> (raw)
Hi
Drivers like picolcd and wiimote work without the generic hid drivers (hidinput,
hidraw, hiddev). Therefore, we need to make sure that the hid-core does not drop
the device when no driver claimed it.
This introduces the HID_CLAIMED_OTHER flag which can be set by said drivers to
tell hid-core to allow the device without a generic driver loaded.
Patch 2 and 3 convert picolcd and wiimote to use this new flag.
Regards
David
David Herrmann (3):
HID: Add HID_CLAIMED_OTHER for non-generic drivers
HID: picolcd: explicitly claim hid devices with HID_CLAIMED_OTHER
HID: wiimote: explicitly claim hid devices with HID_CLAIMED_OTHER
drivers/hid/hid-core.c | 2 ++
drivers/hid/hid-picolcd.c | 7 +++----
drivers/hid/hid-wiimote-core.c | 1 +
include/linux/hid.h | 1 +
4 files changed, 7 insertions(+), 4 deletions(-)
--
1.7.11.2
next reply other threads:[~2012-07-15 18:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-15 18:21 David Herrmann [this message]
2012-07-15 18:21 ` [PATCH 1/3] HID: Add HID_CLAIMED_OTHER for non-generic drivers David Herrmann
2012-07-15 18:21 ` [PATCH 2/3] HID: picolcd: explicitly claim hid devices with HID_CLAIMED_OTHER David Herrmann
2012-07-15 18:21 ` [PATCH 3/3] HID: wiimote: " David Herrmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1342376509-7228-1-git-send-email-dh.herrmann@googlemail.com \
--to=dh.herrmann@googlemail.com \
--cc=jkosina@suse.cz \
--cc=linux-input@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox