]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Merge branch 'for-3.15/sony' into for-next
authorJiri Kosina <jkosina@suse.cz>
Mon, 24 Feb 2014 16:39:58 +0000 (17:39 +0100)
committerJiri Kosina <jkosina@suse.cz>
Mon, 24 Feb 2014 16:39:58 +0000 (17:39 +0100)
1  2 
drivers/hid/hid-sony.c

index 81917eb71e7dc835cffb470896a11873984c0ef3,b1aa6f00c827574eee039a597a81b7f7a481d4b9..b5fe65e70dc4f19eb76d3b6039b52fe3bdbeb1fd
@@@ -1053,11 -1072,12 +1072,12 @@@ static int sixaxis_set_operational_usb(
  static int sixaxis_set_operational_bt(struct hid_device *hdev)
  {
        unsigned char buf[] = { 0xf4,  0x42, 0x03, 0x00, 0x00 };
 -      return hid_output_raw_report(hdev, buf, sizeof(buf),
 -                                   HID_FEATURE_REPORT);
 +      return hid_hw_raw_request(hdev, buf[0], buf, sizeof(buf),
 +                                HID_FEATURE_REPORT, HID_REQ_SET_REPORT);
  }
  
- /* Requesting feature report 0x02 in Bluetooth mode changes the state of the
+ /*
+  * Requesting feature report 0x02 in Bluetooth mode changes the state of the
   * controller so that it sends full input reports of type 0x11.
   */
  static int dualshock4_set_operational_bt(struct hid_device *hdev)