RE: [PATCH 18/28] usb: dwc3: ep0: fix Data Phase for transfer sizes aligned to wMaxPacketSize

2014-10-21 Thread David Laight
From: Alan Stern > > > From: linux-usb-ow...@vger.kernel.org > > > [mailto:linux-usb-ow...@vger.kernel.org] On Behalf Of David Laight > > > Sent: Monday, October 20, 2014 2:48 AM > > > > > > From: Felipe Balbi > > > > According to Section 8.5.3.2 of the USB 2.0 specification, > > > > a USB device

RE: [PATCHv2] usb: gadget: composite: Provide a list of available functions

2014-10-21 Thread Krzysztof Opasiak
> -Original Message- > From: 'Sebastian Andrzej Siewior' [mailto:sebast...@breakpoint.cc] > Sent: Monday, October 20, 2014 7:38 PM > To: Krzysztof Opasiak > Cc: 'Krzysztof Opasiak'; Andrzej Pietrasiewicz; Marek Szyprowski; > 'Greg Kroah-Hartman'; ba...@ti.com; 'Sebastian Andrzej Siewior';

[PATCH] usb: hub: remove unused variable

2014-10-21 Thread Sudip Mukherjee
the integer variable 'feature' was not being used anywhere in the function. so it is safe to remove the variable. Signed-off-by: Sudip Mukherjee --- drivers/usb/core/hub.c | 5 - 1 file changed, 5 deletions(-) diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c index 11e80ac..7eb45

Re: [resend PATCH 1/3] ACPI / platform: provide default DMA mask

2014-10-21 Thread Adrian Hunter
On 24/09/14 16:49, Rafael J. Wysocki wrote: > On Wednesday, September 24, 2014 11:00:37 AM Heikki Krogerus wrote: >> Most devices are configured for 32-bit DMA addresses. >> Setting the mask to 32-bit here removes the need for the >> drivers to do it separately. >> >> Signed-off-by: Heikki Krogerus

Re: [resend PATCH 1/3] ACPI / platform: provide default DMA mask

2014-10-21 Thread Rafael J. Wysocki
On Tuesday, October 21, 2014 03:27:45 PM Adrian Hunter wrote: > On 24/09/14 16:49, Rafael J. Wysocki wrote: > > On Wednesday, September 24, 2014 11:00:37 AM Heikki Krogerus wrote: > >> Most devices are configured for 32-bit DMA addresses. > >> Setting the mask to 32-bit here removes the need for th

Re: [resend PATCH 1/3] ACPI / platform: provide default DMA mask

2014-10-21 Thread Adrian Hunter
On 21/10/14 16:08, Rafael J. Wysocki wrote: > On Tuesday, October 21, 2014 03:27:45 PM Adrian Hunter wrote: >> On 24/09/14 16:49, Rafael J. Wysocki wrote: >>> On Wednesday, September 24, 2014 11:00:37 AM Heikki Krogerus wrote: Most devices are configured for 32-bit DMA addresses. Setting

[PATCH] usb: dwc2: allow dwc2 to get built when USB_GADGET=m

2014-10-21 Thread dinguyen
From: Dinh Nguyen This patch allows the gadget portion of the DWC2 driver to get built when (!USB && USB_GADGET) condition is encountered. Signed-off-by: Dinh Nguyen --- drivers/usb/dwc2/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/dwc2/Kconfig b/driv

Re: [PATCH] drivers: depend on instead of select BACKLIGHT_CLASS_DEVICE and ACPI_VIDEO

2014-10-21 Thread Darren Hart
On Sat, Oct 18, 2014 at 12:13:23AM +0300, Jani Nikula wrote: > Documentation/kbuild/kconfig-language.txt warns to use select with care, > and in general use select only for non-visible symbols and for symbols > with no dependencies, because select will force a symbol to a value > without visiting t

Re: [PATCHv5 7/7] usb: dwc2: Update Kconfig to support dual-role

2014-10-21 Thread Dinh Nguyen
On 10/20/2014 02:42 PM, Paul Bolle wrote: > dingu...@opensource.altera.com schreef op ma 20-10-2014 om 13:52 > [-0500]: >> From: Dinh Nguyen >> >> Update DWC2 kconfig and makefile to support dual-role mode. The platform >> file will always get compiled for the case where the controller is directly

usbutils 008 release

2014-10-21 Thread Greg KH
Here's the 008 release of usbutils. It's been over a year since the 007 release, and a bunch of small bugfixes have piled up, along with a much larger change of now using the hwdb instead of the old usb.ids file (a patch which almost all distros using systemd have been shipping for a while), so it

[PATCH] usb: dwc3: gadget: Properly initialize LINK TRB

2014-10-21 Thread Jack Pham
On ISOC endpoints the last trb_pool entry used as a LINK TRB is not getting zeroed out correctly due to memset being called incorrectly and in the wrong place. If pool allocated from DMA was not zero-initialized to begin with this will result in the size and ctrl values being random garbage. Call m

Re: [PATCH] usb: dwc2: allow dwc2 to get built when USB_GADGET=m

2014-10-21 Thread Jingoo Han
On Wednesday, October 22, 2014 5:32 AM, Dinh Nguyen wrote: > > From: Dinh Nguyen > > This patch allows the gadget portion of the DWC2 driver to get built when > (!USB && USB_GADGET) condition is encountered. > > Signed-off-by: Dinh Nguyen Reviewed-by: Jingoo Han Best regards, Jingoo Han > -

[PATCH] USB: imx21-hcd: use %pad for dma_addr_t

2014-10-21 Thread Jingoo Han
Use %pad for dma_addr_t, because a dma_addr_t type can vary based on build options. So, it prevents the following build warnings in printks. drivers/usb/host/imx21-hcd.c:1175:2: warning: format '%X' expects argument of type 'unsigned int', but argument 8 has type 'dma_addr_t' [-Wformat] drivers/u

RE: [PATCH 18/28] usb: dwc3: ep0: fix Data Phase for transfer sizes aligned to wMaxPacketSize

2014-10-21 Thread Anton Tikhomirov
Hi, > On Mon, 20 Oct 2014, Paul Zimmerman wrote: > > > > From: linux-usb-ow...@vger.kernel.org [mailto:linux-usb- > ow...@vger.kernel.org] On Behalf Of David Laight > > > Sent: Monday, October 20, 2014 2:48 AM > > > > > > From: Felipe Balbi > > > > According to Section 8.5.3.2 of the USB 2.0 spec