]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/hid/hid-dell.c
HID: move reset leds quirk
[linux-2.6-omap-h63xx.git] / drivers / hid / hid-dell.c
index 788faa6b6cac8b058aaef1f417f51274e861d5aa..98ee40e8751fdf99a475cdd767a373c4e5e69a73 100644 (file)
@@ -26,8 +26,6 @@ static int dell_probe(struct hid_device *hdev, const struct hid_device_id *id)
 {
        int ret;
 
-       hdev->quirks |= HID_QUIRK_RESET_LEDS;
-
        ret = hid_parse(hdev);
        if (ret) {
                dev_err(&hdev->dev, "parse failed\n");
@@ -40,6 +38,8 @@ static int dell_probe(struct hid_device *hdev, const struct hid_device_id *id)
                goto err_free;
        }
 
+       usbhid_set_leds(hdev);
+
        return 0;
 err_free:
        return ret;