diff options
author | Jiri Slaby <jirislaby@gmail.com> | 2008-06-26 18:04:24 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2008-10-14 17:50:56 -0400 |
commit | 93c10132a7ac160df3175b53f7ee857625412165 (patch) | |
tree | 64ea194ddd7791d44394bb2a918921a2906fe1ee /drivers/hid/hid-sony.c | |
parent | fea6f1833b5bbff7066bcde1fa1141c9717bbad2 (diff) |
HID: move connect quirks
Move connecting from usbhid to the hid layer and fix also hidp in
that manner.
This removes all the ignore/force hidinput/hiddev connecting quirks.
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-sony.c')
-rw-r--r-- | drivers/hid/hid-sony.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/hid/hid-sony.c b/drivers/hid/hid-sony.c index 97668c68f0a6..3af8095a7de1 100644 --- a/drivers/hid/hid-sony.c +++ b/drivers/hid/hid-sony.c | |||
@@ -57,15 +57,14 @@ static int sony_probe(struct hid_device *hdev, const struct hid_device_id *id) | |||
57 | { | 57 | { |
58 | int ret; | 58 | int ret; |
59 | 59 | ||
60 | hdev->quirks |= HID_QUIRK_HIDDEV; | ||
61 | |||
62 | ret = hid_parse(hdev); | 60 | ret = hid_parse(hdev); |
63 | if (ret) { | 61 | if (ret) { |
64 | dev_err(&hdev->dev, "parse failed\n"); | 62 | dev_err(&hdev->dev, "parse failed\n"); |
65 | goto err_free; | 63 | goto err_free; |
66 | } | 64 | } |
67 | 65 | ||
68 | ret = hid_hw_start(hdev); | 66 | ret = hid_hw_start(hdev, HID_CONNECT_DEFAULT | |
67 | HID_CONNECT_HIDDEV_FORCE); | ||
69 | if (ret) { | 68 | if (ret) { |
70 | dev_err(&hdev->dev, "hw start failed\n"); | 69 | dev_err(&hdev->dev, "hw start failed\n"); |
71 | goto err_free; | 70 | goto err_free; |