[PATCH] HID: usbhid: extend polling interval configuration to joysticks

2017-02-25 Thread Tobias Jakobi
For mouse devices we can currently change the polling interval via usbhid.mousepoll. Implement the same thing for joysticks, so users can reduce input latency this way. This has been tested with a Logitech RumblePad 2 with jspoll=2, resulting in a polling rate of 500Hz (verified with evhz). Signe

Re: [PATCH v2 2/2] usb: gadget: pxa27x: Test for a valid argument pointer

2017-02-25 Thread Robert Jarzmik
Petr Cvek writes: > A call usb_put_phy(udc->transceiver) must be tested for a valid pointer. > Use an already existing test for usb_unregister_notifier call. > > Reported-by: Robert Jarzmik > Signed-off-by: Petr Cvek Acked-by: Robert Jarzmik Cheers. -- Robert -- To unsubscribe from this lis

Re: [PATCH v2 1/2] usb: gadget: pxa27x: Remove duplicate function prototype

2017-02-25 Thread Robert Jarzmik
Petr Cvek writes: > Functions udc_enable() and udc_disable() have a duplicated prototype. > Remove it. > > Signed-off-by: Petr Cvek Acked-by: Robert Jarzmik Cheers. -- Robert -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majord...@vger.ke

[PATCH V3] usb: add CONFIG_USB_PCI for system have both PCI HW and non-PCI based USB HW

2017-02-25 Thread yuan linyu
From: yuan linyu a lot of embeded system SOC (e.g. freescale T2080) have both PCI and USB modules. But USB module is controlled by registers directly, it have no relationship with PCI module. when say N here it will not build PCI related code in USB driver. Signed-off-by: yuan linyu --- drive

[PATCH] usb: dwc2: Fix dwc2_hsotg_core_init_disconnected()

2017-02-25 Thread Vardan Mikayelyan
We should call dwc2_hsotg_enqueue_setup() after properly setting lx_state. Because it may cause error-out from dwc2_hsotg_enqueue_setup() due to wrong value in lx_state. Issue can be reproduced by loading driver while connected A-Connector (start in A-HOST mode) then disconnect A-Connector to swit