Merge branches 'for-3.10/appleir', 'for-3.10/hid-debug', 'for-3.10/hid-driver-transpo...
authorJiri Kosina <jkosina@suse.cz>
Tue, 30 Apr 2013 08:12:44 +0000 (10:12 +0200)
committerJiri Kosina <jkosina@suse.cz>
Tue, 30 Apr 2013 08:12:44 +0000 (10:12 +0200)
1  2  3  4 
drivers/hid/Kconfig
drivers/hid/hid-apple.c
drivers/hid/hid-core.c
drivers/hid/hid-lg4ff.c
drivers/hid/hid-logitech-dj.c
drivers/hid/hid-magicmouse.c
drivers/hid/hid-multitouch.c
include/linux/hid.h

index 7f5e0aa5fe5a10bdafc8a92ab7d4c661528ab3e3,5f07d85c4189fc4e0aa41ad5c3bf63e7d77b2ae8,d1dcfc78bed2273a7f64e0d87c61a469639d6fc1,5f07d85c4189fc4e0aa41ad5c3bf63e7d77b2ae8..15187b85895d408ad561d02e374cbc8070d9dc9c
@@@@@ -122,20 -122,9 -122,9 -122,9 +122,20 @@@@@ config HID_APPL
        Say Y here if you want support for keyboards of Apple iBooks, PowerBooks,
        MacBooks, MacBook Pros and Apple Aluminum.
    
 +++config HID_APPLEIR
 +++    tristate "Apple infrared receiver"
 +++    depends on (USB_HID)
 +++    ---help---
 +++    Support for Apple infrared remote control. All the Apple computers from
 +++      2005 onwards include such a port, except the unibody Macbook (2009),
 +++      and Mac Pros. This receiver is also used in the Apple TV set-top box
 +++      prior to the 2010 model.
 +++
 +++    Say Y here if you want support for Apple infrared remote control.
 +++
    config HID_AUREAL
        tristate "Aureal"
-- -    depends on USB_HID
++ +    depends on HID
        ---help---
        Support for Aureal Cy se W-01RN Remote Controller and other Aureal derived remotes.
    
Simple merge
index bf434a0f813f5c758983e8e86bb11ea8037c9b8f,e7765ede339e6f8d2e5a04bcb3c5bc8295bcbf5b,b76eb9eb6ff177e3216051674ee3fbe8cf863fce,680068c0c46af3ca8f9d61bf5d987a86e24c77eb..734b3d44dae5aa08dbc22f2ac9d7a664a3997922
@@@@@ -2343,7 -2319,8 -2328,7 -2345,8 +2338,9 @@@@@ struct hid_device *hid_allocate_device(
    
        init_waitqueue_head(&hdev->debug_wait);
        INIT_LIST_HEAD(&hdev->debug_list);
+ ++    mutex_init(&hdev->debug_list_lock);
        sema_init(&hdev->driver_lock, 1);
+++     sema_init(&hdev->driver_input_lock, 1);
    
        return hdev;
    }
Simple merge
index 8758f38c948c2022b45da342f15025228ea6b22d,8758f38c948c2022b45da342f15025228ea6b22d,d9043434ddb32f1e62129e4596a42d72043e6791,199b78c8a5f36b272bbf3949fb50ab7053f5874b..5207591a598c05944a348be2252c4a346e0e5cfa
@@@@@ -472,12 -472,12 -471,12 -427,11 +431,12 @@@@@ static int logi_dj_recv_send_report(str
                return -ENODEV;
        }
    
   -    sent_bytes = hdev->hid_output_raw_report(hdev, (u8 *) dj_report,
   -                                             sizeof(struct dj_report),
   -                                             HID_OUTPUT_REPORT);
   +    for (i = 0; i < report->field[0]->report_count; i++)
   +            report->field[0]->value[i] = data[i];
   +
--      usbhid_submit_report(hdev, report, USB_DIR_OUT);
++ +    hid_hw_request(hdev, report, HID_REQ_SET_REPORT);
    
   -    return (sent_bytes < 0) ? sent_bytes : 0;
   +    return 0;
    }
    
    static int logi_dj_recv_query_paired_devices(struct dj_receiver_dev *djrcv_dev)
Simple merge
Simple merge
Simple merge