No description
Find a file
Benjamin Tissoires e04a0442d3 HID: core: remove the absolute need of hid_have_special_driver[]
Most HID devices behave properly when they are used with hid-generic.
Since kernel v4.12, we do not poll for input reports at plug in, so
hid-generic should behave properly with all HID devices.

There has been a long standing list of HID devices that have a special
driver. It used to be just a few, but with time, this list went too big,
and we can not ask users to know which HID special driver will pick up
their device.

We can teach hid-generic to be nice with others. If a device is not
explicitly marked with HID_QUIRK_HAVE_SPECIAL_DRIVER, we can allow
hid-generic to pick up the device as long as no other loaded HID driver
will match the device.

When the special driver appears, hid-generic can step back and let
the special driver handling the device. In case this special driver
is removed, this good old pal of hid-generic will rebind to the device.

This basically makes the list hid_have_special_driver[] useless. It
still allows to not see a hid-generic driver bound and removed during
boot, so we can keep it around.

This will also help other people to have a special HID driver without
the need of recompiling hid-core.

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2017-11-21 11:14:48 +01:00
arch DeviceTree for 4.15: 2017-11-14 18:25:40 -08:00
block Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/shli/md 2017-11-14 16:07:26 -08:00
certs
crypto
Documentation DeviceTree for 4.15: 2017-11-14 18:25:40 -08:00
drivers HID: core: remove the absolute need of hid_have_special_driver[] 2017-11-21 11:14:48 +01:00
firmware
fs
include HID: core: remove the absolute need of hid_have_special_driver[] 2017-11-21 11:14:48 +01:00
init
ipc
kernel
lib
mm
net HID: quirks: move the list of special devices into a quirk 2017-11-21 11:14:48 +01:00
samples VFIO Updates for Linux v4.15 2017-11-14 16:47:47 -08:00
scripts DeviceTree for 4.15: 2017-11-14 18:25:40 -08:00
security
sound sound updates for 4.15-rc1 2017-11-14 18:01:46 -08:00
tools This is the bulk of GPIO changes for the v4.15 kernel cycle: 2017-11-14 17:23:44 -08:00
usr
virt
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS sound updates for 4.15-rc1 2017-11-14 18:01:46 -08:00
Makefile DeviceTree for 4.15: 2017-11-14 18:25:40 -08:00
README

Linux kernel
============

This file was moved to Documentation/admin-guide/README.rst

Please notice that there are several guides for kernel developers and users.
These guides can be rendered in a number of formats, like HTML and PDF.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.
See Documentation/00-INDEX for a list of what is contained in each file.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.