Commit:     f61c9127b9840661244b1b6571e4304a7f0b5c73
Parent:     876b9276b993723f7a74d55b3b49b9186f05d09d
Author:     Jiri Kosina <[EMAIL PROTECTED]>
AuthorDate: Sun Apr 29 13:14:56 2007 +0200
Committer:  Jiri Kosina <[EMAIL PROTECTED]>
CommitDate: Sun Apr 29 13:14:56 2007 +0200

    USB HID: don't warn on idVendor == 0
    It turns out that there are broken devices out there that incorrectly
    report VID/PID as 0x000, see
    Therefore we should not confuse users by dumping warnings and stacktraces
    in such situation. It is not possible to add quirks for such horribly
    broken devices, but currently that's not needed.
    Signed-off-by: Jiri Kosina <[EMAIL PROTECTED]>
 drivers/hid/usbhid/hid-quirks.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/drivers/hid/usbhid/hid-quirks.c b/drivers/hid/usbhid/hid-quirks.c
index 27188bd..17a8755 100644
--- a/drivers/hid/usbhid/hid-quirks.c
+++ b/drivers/hid/usbhid/hid-quirks.c
@@ -477,8 +477,6 @@ static struct hid_blacklist *usbhid_exists_dquirk(const u16 
        struct quirks_list_struct *q;
        struct hid_blacklist *bl_entry = NULL;
-       WARN_ON(idVendor == 0);
        list_for_each_entry(q, &dquirks_list, node) {
                if (q->hid_bl_item.idVendor == idVendor &&
                                q->hid_bl_item.idProduct == idProduct) {
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to