[PATCH] usb: dwc3: don't print error message on probe defer

2018-11-15 Thread Lucas Stach
dwc3_core_init() is requesting the PHYs, which may probe later than the USB host controller. This is a normal system operation state and thus should not print an error message into the logs. Signed-off-by: Lucas Stach --- drivers/usb/dwc3/core.c | 3 ++- 1 file changed, 2 insertions(+), 1

Re: [PATCH] usb: phy: phy-generic: propagate clk_get error if clock is required

2017-10-13 Thread Lucas Stach
Am Freitag, den 18.08.2017, 18:32 +0200 schrieb Lucas Stach: > If the clock handle is given in the DT, it means the clock is > required > for proper operation of the PHY. In that case a failure to obtain the > clock must be propagated to stop the driver from probing. This fix

[PATCH] usb: phy: phy-generic: propagate clk_get error if clock is required

2017-08-18 Thread Lucas Stach
If the clock handle is given in the DT, it means the clock is required for proper operation of the PHY. In that case a failure to obtain the clock must be propagated to stop the driver from probing. This fixes working with clocks, which request probe deferral. Signed-off-by: Lucas Stach <l

[PATCH 2/2] USB: EHCI: merge all cases that disable the IO watchdog

2016-10-22 Thread Lucas Stach
This merges the vendor NEC case with the INTEL and AMD one, as those 3 do exactly the same thing: disabling of the IO watchdog. Signed-off-by: Lucas Stach <d...@lynxeye.de> --- v2: New patch in v2. --- drivers/usb/host/ehci-pci.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drive

[PATCH 1/2] USB: EHCI: elide I/O watchdog on AMD parts

2016-10-22 Thread Lucas Stach
This removes 10 timer wakeups per second. I'm running this patch for a while now and haven't spotted any adverse effects. Signed-off-by: Lucas Stach <d...@lynxeye.de> --- v2: Merge vendor AMD case with vendor Intel case, as requested by Alan Stern. --- drivers/usb/host/ehci-pci.c |

[PATCH] usb: chipidea: host: disable io watchdog

2016-08-15 Thread Lucas Stach
The Chipidea EHCI core seems to behave sanely and doesn't need the IO watchdog. This kills off 10 non-deferrable wakeup events per second when the controller is otherwise idle. Signed-off-by: Lucas Stach <l.st...@pengutronix.de> Tested-by: Stefan Agner <ste...@agner.ch> --- drivers/

[PATCH] USB: EHCI: elide I/O watchdog on AMD parts

2016-06-03 Thread Lucas Stach
This removes 10 timer wakeups per second. I'm running this patch for a while now and haven't spotted any adverse effects. Signed-off-by: Lucas Stach <d...@lynxeye.de> --- drivers/usb/host/ehci-pci.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/usb/host/ehci-pci.c b/drive

Re: [PATCH RFT] usb: chipidea: host: disable io watchdog

2016-04-26 Thread Lucas Stach
Am Dienstag, den 26.04.2016, 09:58 +0800 schrieb Peter Chen: > On Mon, Apr 25, 2016 at 12:55:42PM +0200, Lucas Stach wrote: > > The Chipidea EHCI core seems to behave sanely and doesn't need > > the IO watchdog. This kills off 10 non-deferrable wakeup events > > per secon

[PATCH RFT] usb: chipidea: host: disable io watchdog

2016-04-25 Thread Lucas Stach
The Chipidea EHCI core seems to behave sanely and doesn't need the IO watchdog. This kills off 10 non-deferrable wakeup events per second when the controller is otherwise idle. Signed-off-by: Lucas Stach <l.st...@pengutronix.de> --- I've only tested this on i.MX6 for now and would like

Re: [PATCH 1/3] usb: misc: generic_onboard_hub: add generic onboard USB HUB driver

2015-12-09 Thread Lucas Stach
4 > > > index 000..1b70ccc > > > --- /dev/null > > > +++ b/include/linux/usb/generic_onboard_hub.h > > > @@ -0,0 +1,11 @@ > > > +#ifndef __LINUX_USB_GENERIC_HUB_H > > > +#define __LINUX_USB_GENERIC_HUB_H > > > + > > > +struct usb_hub_gener

Re: [PATCH 1/3] usb: misc: generic_onboard_hub: add generic onboard USB HUB driver

2015-12-09 Thread Lucas Stach
Am Mittwoch, den 09.12.2015, 17:00 +0800 schrieb Peter Chen: > On Wed, Dec 09, 2015 at 09:57:40AM +0100, Lucas Stach wrote: > > Am Mittwoch, den 09.12.2015, 16:50 +0800 schrieb Peter Chen: > > > On Tue, Dec 08, 2015 at 08:36:00AM -0700, Mathieu Poirier wrote: > > > &g

Re: [RESEND PATCH v2 2/2] ARM: imx6: change default burst size for USB

2015-10-01 Thread Lucas Stach
Am Donnerstag, den 01.10.2015, 16:13 +0800 schrieb Peter Chen: > On Wed, Sep 30, 2015 at 4:52 PM, Lucas Stach <l.st...@pengutronix.de> wrote: > > Am Mittwoch, den 30.09.2015, 10:17 +0800 schrieb Peter Chen: > >> It can improve the USB performance when choosing larger

Re: [PATCH v3 08/10] Doc: usb: ci-hdrc-usb2: add tx(rx)-burst-config-dword for binding doc

2015-08-14 Thread Lucas Stach
; }; -- Pengutronix e.K. | Lucas Stach | Industrial Linux Solutions | http://www.pengutronix.de/ | -- To unsubscribe from this list: send the line unsubscribe linux-usb in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo

Re: [PATCH v3 08/10] Doc: usb: ci-hdrc-usb2: add tx(rx)-burst-config-dword for binding doc

2015-08-14 Thread Lucas Stach
Am Freitag, den 14.08.2015, 16:40 +0800 schrieb Peter Chen: On Fri, Aug 14, 2015 at 10:37:30AM +0200, Lucas Stach wrote: Am Freitag, den 07.08.2015, 15:15 +0800 schrieb Peter Chen: It is used to override the default setting for burst size, changing burst size takes effect only when

[PATCH] usb: ehci: fix port power enable when override present

2015-01-05 Thread Lucas Stach
Some controllers need to have external power supplied before toggling the internal PORT_POWER bit. Fixes: 11a7e5940514 (usb: ehci: add ehci_port_power interface) on i.MX51 where the controller would hang the machine when trying to enable PORT_POWER. Signed-off-by: Lucas Stach l.st

Re: [PATCH] usb: ehci: fix port power enable when override present

2015-01-05 Thread Lucas Stach
Am Montag, den 05.01.2015, 10:12 -0200 schrieb Fabio Estevam: Hi Lucas, On Mon, Jan 5, 2015 at 9:02 AM, Lucas Stach l.st...@pengutronix.de wrote: Some controllers need to have external power supplied before toggling the internal PORT_POWER bit. Fixes: 11a7e5940514 (usb: ehci: add

Re: [PATCH 01/12] usb: chipidea: udc: use {read,write}l to handle mapped data

2013-03-26 Thread Lucas Stach
run into the kernels alignment fixup handlers or a data abort. -- Pengutronix e.K. | Lucas Stach | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-5076

Re: [PATCH 1/2] usb: host: tegra: don't touch EMC clock

2013-01-23 Thread Lucas Stach
Am Mittwoch, den 23.01.2013, 12:25 +0530 schrieb Venu Byravarasu: -Original Message- From: linux-tegra-ow...@vger.kernel.org [mailto:linux-tegra- ow...@vger.kernel.org] On Behalf Of Stephen Warren Sent: Wednesday, January 23, 2013 5:58 AM To: Alan Stern; Greg Kroah-Hartman;

[PATCH v3 1/2] net: asix: init ASIX AX88772B MAC from EEPROM

2013-01-16 Thread Lucas Stach
The device comes up with a MAC address of all zeros. We need to read the initial device MAC from EEPROM so it can be set properly later. Signed-off-by: Lucas Stach d...@lynxeye.de --- A similar fix was added into U-Boot: http://patchwork.ozlabs.org/patch/179409/ v2: pass flag in the data field

[PATCH v3 2/2] net: asix: handle packets crossing URB boundaries

2013-01-16 Thread Lucas Stach
ASIX AX88772B started to pack data even more tightly. Packets and the ASIX packet header may now cross URB boundaries. To handle this we have to introduce some state between individual calls to asix_rx_fixup(). Signed-off-by: Lucas Stach d...@lynxeye.de --- I've running this patch for some weeks

[PATCH 1/2] net: asix: init ASIX AX88772B MAC from EEPROM

2012-12-18 Thread Lucas Stach
The device comes up with a MAC address of all zeros. We need to read the initial device MAC from EEPROM so it can be set properly later. Signed-off-by: Lucas Stach d...@lynxeye.de --- A similar fix was added into U-Boot: http://patchwork.ozlabs.org/patch/179409/ --- drivers/net/usb

[PATCH 2/2] net: asix: handle packets crossing URB boundaries

2012-12-18 Thread Lucas Stach
ASIX AX88772B started to pack data even more tightly. Packets and the ASIX packet header may now cross URB boundaries. To handle this we have to introduce some state between individual calls to asix_rx_fixup(). Signed-off-by: Lucas Stach d...@lynxeye.de --- I've running this patch for some weeks

Re: [PATCH 1/2] net: asix: init ASIX AX88772B MAC from EEPROM

2012-12-18 Thread Lucas Stach
Am Dienstag, den 18.12.2012, 14:11 +0100 schrieb Oliver Neukum: On Tuesday 18 December 2012 13:10:25 Lucas Stach wrote: diff --git a/include/linux/usb/usbnet.h b/include/linux/usb/usbnet.h index 9bbeabf..8e9516f 100644 --- a/include/linux/usb/usbnet.h +++ b/include/linux/usb/usbnet.h

Re: [PATCH 1/2] net: asix: init ASIX AX88772B MAC from EEPROM

2012-12-18 Thread Lucas Stach
Am Dienstag, den 18.12.2012, 14:33 +0100 schrieb Oliver Neukum: On Tuesday 18 December 2012 14:24:32 Lucas Stach wrote: Am Dienstag, den 18.12.2012, 14:11 +0100 schrieb Oliver Neukum: On Tuesday 18 December 2012 13:10:25 Lucas Stach wrote: diff --git a/include/linux/usb/usbnet.h b

[PATCH v2 2/2] net: asix: handle packets crossing URB boundaries

2012-12-18 Thread Lucas Stach
ASIX AX88772B started to pack data even more tightly. Packets and the ASIX packet header may now cross URB boundaries. To handle this we have to introduce some state between individual calls to asix_rx_fixup(). Signed-off-by: Lucas Stach d...@lynxeye.de --- I've running this patch for some weeks

[PATCH v2 1/2] net: asix: init ASIX AX88772B MAC from EEPROM

2012-12-18 Thread Lucas Stach
The device comes up with a MAC address of all zeros. We need to read the initial device MAC from EEPROM so it can be set properly later. Signed-off-by: Lucas Stach d...@lynxeye.de --- A similar fix was added into U-Boot: http://patchwork.ozlabs.org/patch/179409/ v2: pass flag in the data field