From patchwork Sat Oct 2 15:59:58 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonio Ospite X-Patchwork-Id: 226971 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id o92G0Gg6017760 for ; Sat, 2 Oct 2010 16:00:17 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754778Ab0JBQAK (ORCPT ); Sat, 2 Oct 2010 12:00:10 -0400 Received: from smtp206.alice.it ([82.57.200.102]:33949 "EHLO smtp206.alice.it" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754462Ab0JBQAJ (ORCPT ); Sat, 2 Oct 2010 12:00:09 -0400 Received: from jcn (79.2.147.231) by smtp206.alice.it (8.5.124.08) (authenticated as fospite@alice.it) id 4C1A268C06B7DD01; Sat, 2 Oct 2010 18:00:08 +0200 Date: Sat, 2 Oct 2010 17:59:58 +0200 From: Antonio Ospite To: linux-input@vger.kernel.org Cc: Alan Ott , Jiri Kosina , Jim Paris , "Ranulf Doswell" , fMikko =?ISO-8859-1?Q?Virkkil=E4?= , alktx@gmail.com Subject: hidraw, sixaxis and output reports. Message-Id: <20101002175958.fbb1aca4.ospite@studenti.unina.it> X-Mailer: Sylpheed 3.0.2 (GTK+ 2.20.1; x86_64-pc-linux-gnu) X-Face: z*RaLf`X<@C75u6Ig9}{oW$H; 1_\2t5)({*|jhM/Vb; ]yA5\I~93>J<_`<4)A{':UrE Mime-Version: 1.0 Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Sat, 02 Oct 2010 16:00:17 +0000 (UTC) diff --git a/drivers/hid/usbhid/hid-core.c b/drivers/hid/usbhid/hid-core.c index df80532..731c08c 100644 --- a/drivers/hid/usbhid/hid-core.c +++ b/drivers/hid/usbhid/hid-core.c @@ -841,7 +841,7 @@ static int usbhid_output_raw_report(struct hid_device *hid, __u8 *buf, size_t co struct usb_host_interface *interface = intf->cur_altsetting; int ret; - if (usbhid->urbout && report_type != HID_FEATURE_REPORT) { + if (0 && usbhid->urbout && report_type != HID_FEATURE_REPORT) { int actual_length; int skipped_report_id = 0; if (buf[0] == 0x0) {