2009-05-15 23:31:47

by Mario Limonciello

[permalink] [raw]
Subject: [PATCH] Fix dmesg errors about hid2hci not claiming interface before usage.

These errors were caused from trying to detach the kernel driver from
the interface, which was unnecessary. A simple usb_claim_interface
is all that is necessary. It is however, important to ensure the
interface claim is successful.

---
tools/hid2hci.c | 12 ++++--------
1 files changed, 4 insertions(+), 8 deletions(-)

--
Mario Limonciello
*Dell | Linux Engineering*
[email protected]


Attachments:
0001-Fix-dmesg-errors-about-hid2hci-not-claiming-interfac.patch (1.27 kB)
signature.asc (260.00 B)
OpenPGP digital signature
Download all attachments

2009-05-16 13:38:44

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [PATCH] Fix dmesg errors about hid2hci not claiming interface before usage.

Hi Mario,

> These errors were caused from trying to detach the kernel driver from
> the interface, which was unnecessary. A simple usb_claim_interface
> is all that is necessary. It is however, important to ensure the
> interface claim is successful.
>
> ---
> tools/hid2hci.c | 12 ++++--------
> 1 files changed, 4 insertions(+), 8 deletions(-)

patch has been applied. Again, please line-break your commit messages
properly.

Regards

Marcel