mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
HID: move ignore quirks
Move ignore quirks from usbhid-quirks into hid-core code. Also don't output warning when ENODEV is error code in usbhid and try ordinal input in hidp when that error is returned. Signed-off-by: Jiri Slaby <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
This commit is contained in:
parent
5f22a79923
commit
d458a9dfc4
6 changed files with 168 additions and 280 deletions
|
|
@ -864,7 +864,7 @@ int hidp_add_connection(struct hidp_connadd_req *req, struct socket *ctrl_sock,
|
|||
|
||||
if (req->rd_size > 0) {
|
||||
err = hidp_setup_hid(session, req);
|
||||
if (err)
|
||||
if (err && err != -ENODEV)
|
||||
goto err_skb;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue