Re: [PATCH v3 5/5] Bluetooth: btusb: Use the hw_reset method to allow resetting the BT chip

2018-12-20 Thread Rajat Jain
On Wed, Nov 21, 2018 at 3:50 PM Rajat Jain wrote: > > If the platform provides it, use the reset gpio to reset the BT > chip (requested by the HCI core if needed). This has been found helpful > on some of Intel bluetooth controllers where the firmware gets stuck and > the only way out is a hard re

Re: [PATCH 1/2] dt-bindings: Add Qualcomm USB Super-Speed PHY bindings

2018-12-20 Thread Jorge Ramirez-Ortiz
On 07/12/18 10:55:57, Jorge Ramirez-Ortiz wrote: > Binding description for Qualcomm's Synopsys 1.0.0 super-speed PHY > controller embedded in QCS404. > > Based on Sriharsha Allenki's original > definitions. > > Signed-off-by: Jorge Ramirez-Ortiz > Reviewed-by: Vinod Koul any follow up on this

Lieber Freund

2018-12-20 Thread martin larcher
Lieber Freund Wie geht es dir? Ich habe Ihnen eine E-Mail geschickt, aber ich habe keine Antwort von Ihnen erhalten. Es ist mit wichtigen Informationen über Ihren verstorbenen Verwandten verbunden. Hier ist meine E-Mail-Adresse (martin_larc...@outlook.com) Grüße Herr Martin Larcher

[GIT PULL] USB driver fixes for 4.20-rc8

2018-12-20 Thread Greg KH
The following changes since commit 40e020c129cfc991e8ab4736d2665351ffd1468d: Linux 4.20-rc6 (2018-12-09 15:31:00 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git tags/usb-4.20-rc8 for you to fetch changes up to 2419f30a4a4fcaa5f3511

[PATCH] usb: dwc3: gadget: don't remove the request if bus-expired

2018-12-20 Thread Zeng Tao
We have already returned EAGAIN for bus-expiry, and it's designed to start with a future Frame number and start the transfer again. So we should not remove the request for that case. Signed-off-by: Zeng Tao --- drivers/usb/dwc3/gadget.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)

[BUG] usb: serial: garmin_gps: A possible concurrency use-after-free bug

2018-12-20 Thread Jia-Ju Bai
In drivers/usb/serial/garmin_gps.c, the functions garmin_read_bulk_callback() and garmin_write_bulk_callback() may be concurrently executed. In garmin_write_bulk_callback() on line 969: kfree(urb->transfer_buffer); In garmin_read_bulk_callback() on line 1165: unsigned char *data = urb->tr

Re: [BUG] usb: serial: garmin_gps: A possible concurrency use-after-free bug

2018-12-20 Thread Johan Hovold
On Thu, Dec 20, 2018 at 09:41:16PM +0800, Jia-Ju Bai wrote: > In drivers/usb/serial/garmin_gps.c, > the functions garmin_read_bulk_callback() and garmin_write_bulk_callback() > may be concurrently executed. > > In garmin_write_bulk_callback() on line 969: > kfree(urb->transfer_buffer); > In g

Re: [BUG] usb: serial: garmin_gps: A possible concurrency use-after-free bug

2018-12-20 Thread Jia-Ju Bai
On 2018/12/20 21:46, Johan Hovold wrote: On Thu, Dec 20, 2018 at 09:41:16PM +0800, Jia-Ju Bai wrote: In drivers/usb/serial/garmin_gps.c, the functions garmin_read_bulk_callback() and garmin_write_bulk_callback() may be concurrently executed. In garmin_write_bulk_callback() on line 969:

Re: [PATCH v1 01/12] dt-bindings: usb: add support for dwc3 controller on HiSilicon SoCs

2018-12-20 Thread Rob Herring
On Thu, Dec 20, 2018 at 12:46 AM Felipe Balbi wrote: > > > Hi, > > Rob Herring writes: > >> +Example: > >> +usb3: hisi_dwc3 { > >> +compatible = "hisilicon,hi3660-dwc3"; > >> +#address-cells = <2>; > >> +#size-cells = <2>; > >> +ra

Re: [PATCH v2 3/4] usb: dwc3: Add property snps,enable-refclk-sof

2018-12-20 Thread Rob Herring
On Thu, Dec 20, 2018 at 12:52 AM Felipe Balbi wrote: > > > Hi, > > Rob Herring writes: > > On Fri, Dec 07, 2018 at 06:27:43PM -0800, Thinh Nguyen wrote: > >> This patch adds a property to enable the controller to track the > >> frame number based on the reference clock. > >> > >> When operating i

Re: [PATCH v5] cdc-acm: fix abnormal DATA RX issue for Mediatek Preloader.

2018-12-20 Thread Greg Kroah-Hartman
On Wed, Dec 19, 2018 at 09:56:22AM +0100, Oliver Neukum wrote: > On Mi, 2018-12-19 at 12:03 +0800, Macpaul Lin wrote: > > On Wed, 2018-12-19 at 10:31 +0700, Lars Melin wrote: > > > On 12/19/2018 10:16, Macpaul Lin wrote: > > > > > > Hi Macpaul, > > > your verbose usb listing show me that Mediatek

Re: [PATCH v7] cdc-acm: fix abnormal DATA RX issue for Mediatek Preloader.

2018-12-20 Thread Oliver Neukum
On Mi, 2018-12-19 at 10:00 +0100, Johan Hovold wrote: > On Wed, Dec 19, 2018 at 12:11:03PM +0800, Macpaul Lin wrote: > > Mediatek Preloader is a proprietary embedded boot loader for loading > > Little Kernel and Linux into device DRAM. > > > > This boot loader also handle firmware update. Mediatek

Re: [GIT PULL] USB driver fixes for 4.20-rc8

2018-12-20 Thread pr-tracker-bot
The pull request you sent on Thu, 20 Dec 2018 13:38:38 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git tags/usb-4.20-rc8 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/177c459b08a34dcf004aa9a4c1f1d8be682ff3af Thank you! -- Deet-doot-dot, I am a

Re: [PATCH 1/2] dt-bindings: Add Qualcomm USB Super-Speed PHY bindings

2018-12-20 Thread Rob Herring
On Fri, Dec 07, 2018 at 10:55:57AM +0100, Jorge Ramirez-Ortiz wrote: > Binding description for Qualcomm's Synopsys 1.0.0 super-speed PHY > controller embedded in QCS404. > > Based on Sriharsha Allenki's original > definitions. > > Signed-off-by: Jorge Ramirez-Ortiz > Reviewed-by: Vinod Koul >

Re: [PATCH 1/2] dt-bindings: Add Qualcomm USB Super-Speed PHY bindings

2018-12-20 Thread Rob Herring
On Thu, Dec 20, 2018 at 10:52:45AM +0100, Jorge Ramirez-Ortiz wrote: > On 07/12/18 10:55:57, Jorge Ramirez-Ortiz wrote: > > Binding description for Qualcomm's Synopsys 1.0.0 super-speed PHY > > controller embedded in QCS404. > > > > Based on Sriharsha Allenki's original > > definitions. > > > >

Re: [PATCH 1/2] dt-bindings: Add Qualcomm USB Super-Speed PHY bindings

2018-12-20 Thread Jack Pham
Hi Rob, Jorge, On Thu, Dec 20, 2018 at 11:05:31AM -0600, Rob Herring wrote: > On Fri, Dec 07, 2018 at 10:55:57AM +0100, Jorge Ramirez-Ortiz wrote: > > Binding description for Qualcomm's Synopsys 1.0.0 super-speed PHY > > controller embedded in QCS404. > > > > Based on Sriharsha Allenki's origina

Re: Fwd: composite device fails to reset "suspended" flag

2018-12-20 Thread Frank Mori Hess
On Thu, Dec 20, 2018 at 2:12 AM Felipe Balbi wrote: > > You're using a really old kernel. Please try with v4.19.11 or v4.20-rc7 > I have to use an altera patched kernel linux-socfpga to boot my board, and it always lags behind mainline kernel. If I really had to, I can probably backport an indiv

[GIT PULL] USB-serial updates for 4.21-rc1

2018-12-20 Thread Johan Hovold
The following changes since commit ccda4af0f4b92f7b4c308d3acc262f4a7e3affad: Linux 4.20-rc2 (2018-11-11 17:12:31 -0600) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/johan/usb-serial.git tags/usb-serial-4.21-rc1 for you to fetch changes up to 8d503

Re: [PATCH v1 1/2] dt-bindings: add binding for USBSS-DRD controller.

2018-12-20 Thread Rob Herring
On Mon, Dec 10, 2018 at 12:39:14PM +, Pawel Laszczak wrote: > This patch aim at documenting USB related dt-bindings for the > Cadence USBSS-DRD controller. > > Signed-off-by: Pawel Laszczak > --- > .../devicetree/bindings/usb/cdns3-usb.txt | 31 +++ > 1 file changed, 31 i

Re: [PATCH 1/2] dt-bindings: Add Qualcomm USB Super-Speed PHY bindings

2018-12-20 Thread Stephen Boyd
Quoting Jorge Ramirez-Ortiz (2018-12-07 01:55:57) > + > +- qcom,vdd-voltage-level: > +Value type: > +Definition: This is a list of three integer values where > +each value corresponding to voltage corner in uV. As far as I'm aware, this isn't how qcom's voltage corners ar

Re: [PATCH 2/2] phy: qualcomm: usb: Add Super-Speed PHY driver

2018-12-20 Thread Stephen Boyd
Quoting Jorge Ramirez-Ortiz (2018-12-07 01:55:58) > From: Shawn Guo > > Driver to control the Synopsys SS PHY 1.0.0 implemeneted in QCS404 > > Based on Sriharsha Allenki's original code. > > Signed-off-by: Jorge Ramirez-Ortiz > Signed-off-by: Shawn Guo chain should be swapped? > Reviewed-b

Re: [PATCH 1/4] Documentation: dt: Add binding info for jz4740-musb driver

2018-12-20 Thread Rob Herring
On Thu, 13 Dec 2018 15:45:52 +0100, Paul Cercueil wrote: > This commit adds documentation for the device-tree bindings of the > jz4740-musb driver, which provides support for the USB gadget mode > of the JZ4740 and similar SoCs from Ingenic. > > Signed-off-by: Paul Cercueil > --- > .../bindings/

Re: [PATCH] dt-bindings: usb-xhci: Add r8a774c0 support

2018-12-20 Thread Rob Herring
On Thu, 13 Dec 2018 20:21:11 +, Fabrizio Castro wrote: > Document RZ/G2E (R8A774C0) SoC bindings. > > Signed-off-by: Fabrizio Castro > --- > Documentation/devicetree/bindings/usb/usb-xhci.txt | 1 + > 1 file changed, 1 insertion(+) > Reviewed-by: Rob Herring

Re: [PATCH] dt-bindings: usb: renesas_usbhs: Add r8a774c0 support

2018-12-20 Thread Rob Herring
On Thu, 13 Dec 2018 20:21:03 +, Fabrizio Castro wrote: > Document RZ/G2E (R8A774C0) SoC bindings. > > Signed-off-by: Fabrizio Castro > --- > Documentation/devicetree/bindings/usb/renesas_usbhs.txt | 1 + > 1 file changed, 1 insertion(+) > Reviewed-by: Rob Herring

Re: [PATCH] usb: gadget: udc: renesas_usb3: Add bindings for r8a774c0

2018-12-20 Thread Rob Herring
On Thu, 13 Dec 2018 20:22:18 +, Fabrizio Castro wrote: > Document RZ/G2E (R8A774C0) SoC bindings. > > Signed-off-by: Fabrizio Castro > --- > Documentation/devicetree/bindings/usb/renesas_usb3.txt | 1 + > 1 file changed, 1 insertion(+) > Reviewed-by: Rob Herring

Re: Fwd: composite device fails to reset "suspended" flag

2018-12-20 Thread Alan Stern
On Thu, 20 Dec 2018, Frank Mori Hess wrote: > On Thu, Dec 20, 2018 at 2:12 AM Felipe Balbi wrote: > > > > You're using a really old kernel. Please try with v4.19.11 or v4.20-rc7 > > > > I have to use an altera patched kernel linux-socfpga to boot my board, > and it always lags behind mainline ke

Re: [PATCH v2 1/4] usb: dwc3: Add property snps,refclk-period-ns

2018-12-20 Thread Thinh Nguyen
Hi, On 12/19/2018 10:48 PM, Felipe Balbi wrote: > Hi, > > Thinh Nguyen writes: On 12/18/2018 8:39 AM, Rob Herring wrote: > On Fri, Dec 07, 2018 at 06:27:30PM -0800, Thinh Nguyen wrote: >> This patch introduces property "snps,refclk-period-ns" to inform the >> controller of the re

Re: getting around "Max number of devices this xHCI host supports is 32" limit

2018-12-20 Thread Marc MERLIN
On Mon, Dec 17, 2018 at 09:45:44PM -0800, Marc MERLIN wrote: > On Mon, Dec 17, 2018 at 10:52:57AM -0500, Alan Stern wrote: > > > Point taken. I think I was thinking about USB ports that were routed to > > > either a xHCI or an EHCI chip depending on what's plugged into them, but > > > seems that I

Re: getting around "Max number of devices this xHCI host supports is 32" limit

2018-12-20 Thread Alan Stern
On Thu, 20 Dec 2018, Marc MERLIN wrote: > On Mon, Dec 17, 2018 at 09:45:44PM -0800, Marc MERLIN wrote: > > On Mon, Dec 17, 2018 at 10:52:57AM -0500, Alan Stern wrote: > > > > Point taken. I think I was thinking about USB ports that were routed to > > > > either a xHCI or an EHCI chip depending on

Re: Fwd: composite device fails to reset "suspended" flag

2018-12-20 Thread Felipe Balbi
Hi, Alan Stern writes: >> > You're using a really old kernel. Please try with v4.19.11 or v4.20-rc7 >> > >> >> I have to use an altera patched kernel linux-socfpga to boot my board, >> and it always lags behind mainline kernel. If I really had to, I can >> probably backport an individual drive

Re: [GIT PULL] USB-serial updates for 4.21-rc1

2018-12-20 Thread Greg Kroah-Hartman
On Thu, Dec 20, 2018 at 07:13:08PM +0100, Johan Hovold wrote: > The following changes since commit ccda4af0f4b92f7b4c308d3acc262f4a7e3affad: > > Linux 4.20-rc2 (2018-11-11 17:12:31 -0600) > > are available in the Git repository at: > > https://git.kernel.org/pub/scm/linux/kernel/git/johan/us

Re: [PATCH 1/2] dt-bindings: Add Qualcomm USB Super-Speed PHY bindings

2018-12-20 Thread Jorge Ramirez
On 12/20/18 21:25, Stephen Boyd wrote: Quoting Jorge Ramirez-Ortiz (2018-12-07 01:55:57) + +- qcom,vdd-voltage-level: +Value type: +Definition: This is a list of three integer values where +each value corresponding to voltage corner in uV. As far as I'm aware, this isn

Re: [PATCH 1/2] dt-bindings: Add Qualcomm USB Super-Speed PHY bindings

2018-12-20 Thread Jorge Ramirez
On 12/20/18 18:37, Jack Pham wrote: Hi Rob, Jorge, On Thu, Dec 20, 2018 at 11:05:31AM -0600, Rob Herring wrote: On Fri, Dec 07, 2018 at 10:55:57AM +0100, Jorge Ramirez-Ortiz wrote: Binding description for Qualcomm's Synopsys 1.0.0 super-speed PHY controller embedded in QCS404. Based on Srihar

Re: [PATCH 1/2] dt-bindings: Add Qualcomm USB Super-Speed PHY bindings

2018-12-20 Thread Jorge Ramirez
On 12/20/18 18:07, Rob Herring wrote: On Thu, Dec 20, 2018 at 10:52:45AM +0100, Jorge Ramirez-Ortiz wrote: On 07/12/18 10:55:57, Jorge Ramirez-Ortiz wrote: Binding description for Qualcomm's Synopsys 1.0.0 super-speed PHY controller embedded in QCS404. Based on Sriharsha Allenki's original de