Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid
Pull HID subsystem updates from Jiri Kosina: "Apart from various driver updates and added support for a number of new devices (mostly multitouch ones, but not limited to), there is one change that is worth pointing out explicitly: creation of HID device groups and proper autoloading of hid-multitouch, implemented by Henrik Rydberg." * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid: (50 commits) HID: wacom: fix build breakage without CONFIG_LEDS_CLASS HID: waltop: Extend barrel button fix HID: hyperv: Set the hid drvdata correctly HID: wacom: Unify speed setting HID: wacom: Add speed setting for Intuos4 WL HID: wacom: Move Graphire raport header check. HID: uclogic: Add support for UC-Logic TWHL850 HID: explain the signed/unsigned handling in hid_add_field() HID: handle logical min/max signedness properly in parser HID: logitech: read all 32 bits of report type bitfield HID: wacom: Add LED selector control for Wacom Intuos4 WL HID: hid-multitouch: fix wrong protocol detection HID: wiimote: Fix IR data parser HID: wacom: Add tilt reporting for Intuos4 WL HID: multitouch: MT interface matching for Baanto HID: hid-multitouch: Only match MT interfaces HID: Create a common generic driver HID: hid-multitouch: Switch to device groups HID: Create a generic device group HID: Allow bus wildcard matching ...
Tento commit je obsažen v:
@@ -1195,41 +1195,16 @@ int hidp_get_conninfo(struct hidp_conninfo *ci)
|
||||
return err;
|
||||
}
|
||||
|
||||
static const struct hid_device_id hidp_table[] = {
|
||||
{ HID_BLUETOOTH_DEVICE(HID_ANY_ID, HID_ANY_ID) },
|
||||
{ }
|
||||
};
|
||||
|
||||
static struct hid_driver hidp_driver = {
|
||||
.name = "generic-bluetooth",
|
||||
.id_table = hidp_table,
|
||||
};
|
||||
|
||||
static int __init hidp_init(void)
|
||||
{
|
||||
int ret;
|
||||
|
||||
BT_INFO("HIDP (Human Interface Emulation) ver %s", VERSION);
|
||||
|
||||
ret = hid_register_driver(&hidp_driver);
|
||||
if (ret)
|
||||
goto err;
|
||||
|
||||
ret = hidp_init_sockets();
|
||||
if (ret)
|
||||
goto err_drv;
|
||||
|
||||
return 0;
|
||||
err_drv:
|
||||
hid_unregister_driver(&hidp_driver);
|
||||
err:
|
||||
return ret;
|
||||
return hidp_init_sockets();
|
||||
}
|
||||
|
||||
static void __exit hidp_exit(void)
|
||||
{
|
||||
hidp_cleanup_sockets();
|
||||
hid_unregister_driver(&hidp_driver);
|
||||
}
|
||||
|
||||
module_init(hidp_init);
|
||||
|
Odkázat v novém úkolu
Zablokovat Uživatele