Commit:     3b180bff4c606b2596c40b26f85af6bc7d8cc50b
Parent:     59e7e36c325b4d447a490ee163eac23025763681
Author:     Jiri Kosina <[EMAIL PROTECTED]>
AuthorDate: Tue May 8 19:51:23 2007 +0200
Committer:  Jiri Kosina <[EMAIL PROTECTED]>
CommitDate: Wed May 9 02:52:51 2007 +0200

    Bluetooth HID: HIDP - don't initialize force feedback
    The current implementation of force feedback for HID devices is
    USB-transport only and therefore calling hid_ff_init() from hidp code is
    not going to work (plus it creates unwanted dependency of hidp on usbhid).
    Remove the hid_ff_init() until either the hid-ff is made
    transport-independent, or at least support for bluetooth transport is
    Signed-off-by: Jiri Kosina <[EMAIL PROTECTED]>
    Signed-off-by: Marcel Holtmann <[EMAIL PROTECTED]>
 net/bluetooth/hidp/core.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/net/bluetooth/hidp/core.c b/net/bluetooth/hidp/core.c
index d342e89..3e77e81 100644
--- a/net/bluetooth/hidp/core.c
+++ b/net/bluetooth/hidp/core.c
@@ -737,10 +737,8 @@ static inline void hidp_setup_hid(struct hidp_session 
*session, struct hidp_conn
&hid->report_enum[HID_FEATURE_REPORT].report_list, list)
                hidp_send_report(session, report);
-       if (hidinput_connect(hid) == 0) {
+       if (hidinput_connect(hid) == 0)
                hid->claimed |= HID_CLAIMED_INPUT;
-               hid_ff_init(hid);
-       }
 int hidp_add_connection(struct hidp_connadd_req *req, struct socket 
*ctrl_sock, struct socket *intr_sock)
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