On Wed, 21 Jan 2015, Olivier Sobrie wrote:
I tested your patch. It also fixes the problem I observed.
You can drop mine.
For your info:
My test consists in powering down a usb hso modem while one of its
serial port is opened. It leads to two URB failures, each urb callback
queues a
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512
Hi,
I'm working on a fix for my synaptics keyboard and got some questions.
The keyboard is reporting a wrong Logical / Usage Maximum (0xFF, 0xFF)
and i patched the rdesc as seen in other quirks.
But I don't know what would be a correct (or
Thanks Alan. I did run check patch and I had no errors or warnings.
I explained my changes in v3 in the cover patch, did that not come
through or is it convention to do it in the individual patch?
Is the ack for the ohci patch as well? Thanks
Arun Ramamurthy
On 15-01-21 07:03 AM, Alan
On Wed, Jan 21, 2015 at 11:21:06AM -0700, Azael Avalos wrote:
Hi there,
Sorry for the late reply.
2015-01-20 4:15 GMT-07:00 Oliver Neukum oneu...@suse.de:
On Sun, 2015-01-18 at 18:30 -0700, Azael Avalos wrote:
The following patches add support to several USB Sleep functions
found on
Hi Sylvain,
On Wed, 21 Jan 2015 20:31:14 +0100
Sylvain Rochet sylvain.roc...@finsecur.com wrote:
This patch add suspend/resume with wakeup support for Atmel USBA.
On suspend: We stay continuously clocked if Vbus signal is not
available. If Vbus signal is available we set the Vbus signal as
Hi there,
Sorry for the late reply.
2015-01-20 4:15 GMT-07:00 Oliver Neukum oneu...@suse.de:
On Sun, 2015-01-18 at 18:30 -0700, Azael Avalos wrote:
The following patches add support to several USB Sleep functions
found on newer Toshiba laptops, allowing to use the USB ports while
the laptop
Hi,
small nitpick
On 21/01/2015 19:27, Antti Seppälä wrote:
This patch switches calls to readl/writel to their
__raw_readl/__raw_writel equivalents which preserve platform endianness.
This patch is necessary to access dwc2 registers correctly on big endian
systems such as mips. Then dwc2
If vbus gpio is high at init, we should set vbus_prev to true
accordingly to the current vbus state. Without that, we skip the first
vbus interrupt because the saved vbus state is not consistent.
Signed-off-by: Sylvain Rochet sylvain.roc...@finsecur.com
Acked-by: Nicolas Ferre
Vbus IRQ handler needs a started UDC driver to work because it uses
udc-driver, which is set by the UDC start handler. The previous way
chosen was to return from interrupt if udc-driver is NULL using a
spinlock around the check.
We now request an auto disabled (IRQ_NOAUTOEN) Vbus signal IRQ
This patch add suspend/resume with wakeup support for Atmel USBA.
On suspend: We stay continuously clocked if Vbus signal is not
available. If Vbus signal is available we set the Vbus signal as a wake
up source then we stop the USBA itself and all clocks used by USBA.
On resume: We recover
I've been following this as it somewhat resembles the problems I'm
experiencing, which I've just formally reported in Hauppauge
USB-Live2 recording fails on USB3 port.
Yeah, it happens with the cx231xx as well, although the sequencing of
events leading to the failure is a bit different (I
If USB PLL is not necessary for other USB drivers (e.g. OHCI and EHCI)
we will reduce power consumption by switching off the USB PLL if no USB
Host is currently connected to this USB Device.
We are using Vbus GPIO signal to detect Host presence. If Vbus signal is
not available then the device
Start clocks on rising edge of the Vbus signal, stop clocks on falling
edge of the Vbus signal.
Add suspend/resume with wakeup support.
Changes since v4:
* Now using IRQ_NOAUTOEN flag to remove the unused check for
udc-driver is not NULL in the Vbus IRQ.
* Reworked the start/stop of
Hi,
On Wed, Jan 21, 2015 at 10:06 AM, Maxime Ripard
maxime.rip...@free-electrons.com wrote:
Hi Felipe,
I'm currently working on a custom AM335x-based board, that has a OTG
connector wired to one of the musb controlers, and Linux 3.17
This OTG connector seems to behave in a weird way when it
From: Deepak Das deepakdas.li...@gmail.com
Currently if port power is turned off by user on hub port
using USBDEVFS then port power is turned back ON
by hub driver.
This commit modifies hub reset logic in hub_port_connect() to prevent
hub driver from turning back the port power ON if port is not
This patch switches calls to readl/writel to their
__raw_readl/__raw_writel equivalents which preserve platform endianness.
This patch is necessary to access dwc2 registers correctly on big endian
systems such as mips. Then dwc2 can be used to replace ifx-hcd driver
for lantiq platform found e.g.
The USB stack provides a mechanism for drivers to request an
asynchronous device reset (usb_queue_reset_device()). The mechanism
uses a work item (reset_ws) embedded in the usb_interface structure
used by the driver, and the reset is carried out by a work queue
routine.
The asynchronous reset
Hi Matthias,
On Tue, Jan 20, 2015 at 10:22 AM, Mathias Nyman
mathias.ny...@linux.intel.com wrote:
On 19.01.2015 22:02, Devin Heitmueller wrote:
Hi Mathias,
Thanks for getting back to me.
There are a couple of xhci bugs triggered by dvb devices:
Hi Felipe,
I'm currently working on a custom AM335x-based board, that has a OTG
connector wired to one of the musb controlers, and Linux 3.17
This OTG connector seems to behave in a weird way when it comes to
switching from one role to another:
- The host mode works with
On 21 January 2015 at 15:58, Alan Stern st...@rowland.harvard.edu wrote:
On Wed, 21 Jan 2015 deepakdas.li...@gmail.com wrote:
From: Deepak Das deepakdas.li...@gmail.com
Currently if port power is turned off by user on hub port
using USBDEVFS then port power is turned back ON
by hub driver.
Hi Sebastian,
On Mon, Oct 27, 2014 at 1:06 PM, Sebastian Andrzej Siewior
bige...@linutronix.de wrote:
Attaching a keyboard, using it as a wakeup via
|for f in $(find /sys/devices/ocp.3/4740.usb -name wakeup)
|do
| echo enabled $f
|done
going into standby
| echo standby
Hi,
Thanks for the feedback. I've included a replacement patch here for the
first issue, and will send a separate message with a patch for the third
issue. I've removed the second as per Alan's request. This diff is
against the latest version of the hid branch rather than the 3.13 branch
I
On Wed, 21 Jan 2015, Rafael J. Wysocki wrote:
Well, assuming that the HCD driver doesn't support wakeup signaling,
it would be good to have a way to indicate the lack of support for
autosuspend to the USB core so as to avoid the user-visible breakage.
Do we have any means for that?
On Wed, 21 Jan 2015, Arun Ramamurthy wrote:
Thanks Alan. I did run check patch and I had no errors or warnings.
I explained my changes in v3 in the cover patch, did that not come
through or is it convention to do it in the individual patch?
Oh, sorry, I missed it. Must have deleted that
Hi Sylvain,
On Wed, 21 Jan 2015 20:31:10 +0100
Sylvain Rochet sylvain.roc...@finsecur.com wrote:
Start clocks on rising edge of the Vbus signal, stop clocks on falling
edge of the Vbus signal.
Add suspend/resume with wakeup support.
Apart from the minor comment I made on patch 4, you can
On Wed, 21 Jan 2015, Rafael J. Wysocki wrote:
If nothing happens, there are two possibilities: The hub doesn't
support wakeup signalling, or the isp1760-hcd driver doesn't support
it. To tell the truth, it wouldn't be surprising if the second turns
out to be the case.
Added the USB serial console device ID for Siemens Ruggedcom devices
which have a USB port for their serial console.
Signed-off-by: Len Sorensen lsore...@csclub.uwaterloo.ca
---
drivers/usb/serial/cp210x.c |1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/usb/serial/cp210x.c
On Wednesday, January 21, 2015 04:36:35 PM Alan Stern wrote:
On Wed, 21 Jan 2015, Rafael J. Wysocki wrote:
If nothing happens, there are two possibilities: The hub doesn't
support wakeup signalling, or the isp1760-hcd driver doesn't support
it. To tell the truth, it wouldn't
On Wednesday, January 21, 2015 05:05:36 PM Alan Stern wrote:
On Wed, 21 Jan 2015, Rafael J. Wysocki wrote:
Well, assuming that the HCD driver doesn't support wakeup signaling,
it would be good to have a way to indicate the lack of support for
autosuspend to the USB core so as to avoid
On 01/21/2015 02:54 AM, Kaukab, Yousaf wrote:
Hi John,
-Original Message-
From: Kaukab, Yousaf
Sent: Thursday, January 15, 2015 6:09 PM
To: linux-usb@vger.kernel.org; ba...@ti.com
Cc: john.y...@synopsys.com; Herrero, Gregory; pa...@synopsys.com;
r.bald...@samsung.com;
Hi,
On Tue, Nov 25, 2014 at 04:49:47PM -0800, Kevin Cernekee wrote:
Some of the older chips used different bits to arm and trigger the reset.
Add the infrastructure needed to specify this through the compatible
string.
Thanks, applied.
-- Sebastian
signature.asc
Description: Digital
Hi,
On Tue, Nov 25, 2014 at 04:49:46PM -0800, Kevin Cernekee wrote:
Now that the driver doesn't use any ARM-specific headers, it is safe
to build on MIPS or with COMPILE_TEST.
Thanks, applied.
-- Sebastian
signature.asc
Description: Digital signature
On Tuesday, December 16, 2014 06:12:32 PM Octavian Purdila wrote:
This patch adds support to load a custom ACPI table that describes
devices connected via the DLN2 USB to I2C/SPI/GPIO bridge.
The ACPI table can be loaded either externally (from QEMU or with
CONFIG_ACPI_CUSTOM_DSDT) or it can
Hi,
On Tue, Nov 25, 2014 at 04:49:48PM -0800, Kevin Cernekee wrote:
The register bit fields are a little different, so add an entry and a
compatible string to accommodate them.
Thanks, applied.
-- Sebastian
signature.asc
Description: Digital signature
From: Mian Yousaf Kaukab [mailto:yousaf.kau...@intel.com]
Sent: Wednesday, January 21, 2015 6:37 AM
Hi,
This patchset consists of some bug fixes, feature enhancements and
cosmetic changes for the dwc2 driver. All the patches are verified on
dwc2 v3.0a with dedicated fifos. Main focus
From: Mian Yousaf Kaukab [mailto:yousaf.kau...@intel.com]
Sent: Wednesday, January 21, 2015 6:37 AM
Hi,
This patchset consists of some bug fixes, feature enhancements and
cosmetic changes for the dwc2 driver. All the patches are verified on
dwc2 v3.0a with dedicated fifos. Main focus of
Hello,
I'll do it later depend on this series patchs to be accpeted or rejected.
Thanks for your advice
One Thousand Gnomes 於 2015/1/21 下午 10:41 寫道:
+ if (cflag PARENB) {
+ if (cflag PARODD)
+ new_lcr |= UART_LCR_PARITY; /* odd */
+
Hi shimoda-san
This patch series is based on Felipe's usb.git / testing/next branch.
(commit id = 05cf6e00b8ff2b80c8b2d1e69f07cdd6c830efe0)
Yoshihiro Shimoda (2):
usb: renesas_usbhs: add usbhsf_dma_init_pdev() function
usb: renesas_usbhs: add support for requesting DT DMA
Hi all,
While working on our test board with Exynos7 SoC, we see that across
suspend/resume (Suspend to RAM) the EHCI can't resume the devices connected
to HSIC phy properly.
We have been using 3.16 kernel for our development, but on the ehci-exynos
driver
side there isn't any delta that we
Hi,
On Wednesday 21 January 2015 03:36 PM, Yunzhi Li wrote:
Hi Kishon :
Hi,
On Friday 12 December 2014 08:37 PM, Yunzhi Li wrote:
This patch to add a generic PHY driver for ROCKCHIP usb PHYs,
currently this driver can support RK3288. The RK3288 SoC have
three independent USB PHY IPs which
Our int callback will return IIR, not LSR, and bulk-in callback will return
[LSR+Data][LSR+Data], so need to rewrite it
Signed-off-by: Peter Hung hpeter+linux_ker...@gmail.com
---
drivers/usb/serial/f81232.c | 82 +
1 file changed, 39 insertions(+), 43
remove unused function set_line_control
Signed-off-by: Peter Hung hpeter+linux_ker...@gmail.com
---
drivers/usb/serial/f81232.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/drivers/usb/serial/f81232.c b/drivers/usb/serial/f81232.c
index 9a54f56..11a236b 100644
---
Hi Kishon :
Hi,
On Wednesday 21 January 2015 03:36 PM, Yunzhi Li wrote:
Hi Kishon :
Hi,
On Friday 12 December 2014 08:37 PM, Yunzhi Li wrote:
This patch to add a generic PHY driver for ROCKCHIP usb PHYs,
currently this driver can support RK3288. The RK3288 SoC have
three independent USB
On 18 January 2015 at 02:51, Nicholas Mc Guire der.h...@hofr.at wrote:
Signed-off-by: Nicholas Mc Guire der.h...@hofr.at
Thanks! Applied for next.
Kind regards
Uffe
---
The return value of wait_for_completion_timeout is unsigned long,
as it is used here for wait_for_completion_timeout only
Hi Kishon :
Hi,
On Friday 12 December 2014 08:37 PM, Yunzhi Li wrote:
This patch to add a generic PHY driver for ROCKCHIP usb PHYs,
currently this driver can support RK3288. The RK3288 SoC have
three independent USB PHY IPs which are all configured through a
set of registers located in the GRF
This patch implement the following function:
set_termios, tiocmset, tiocmget, dtr_rts
Signed-off-by: Peter Hung hpeter+linux_ker...@gmail.com
---
drivers/usb/serial/f81232.c | 103
1 file changed, 84 insertions(+), 19 deletions(-)
mode change 100644
Add register map for F81232. and add some function to operating this device.
etc. f81232_get_register()/f81232_set_register() to work with USB control
point. and worker f81232_int_work_wq() to read MSR when IIR acquired.
Signed-off-by: Peter Hung hpeter+linux_ker...@gmail.com
---
Hi,
On Wed, Jan 21, 2015 at 11:17:49AM +0200, Heikki Krogerus wrote:
On Tue, Jan 20, 2015 at 09:45:39AM -0600, Felipe Balbi wrote:
diff --git a/drivers/phy/ulpi/tusb1210.c b/drivers/phy/ulpi/tusb1210.c
new file mode 100644
index 000..ac77f98
--- /dev/null
+++
Hello.
On 1/21/2015 1:30 PM, Peter Hung wrote:
remove unused function set_line_control
The source says set_control_lines().
Signed-off-by: Peter Hung hpeter+linux_ker...@gmail.com
---
drivers/usb/serial/f81232.c | 7 ---
1 file changed, 7 deletions(-)
diff --git
From: Deepak Das deepakdas.li...@gmail.com
Currently if port power is turned off by user on hub port
using USBDEVFS then port power is turned back ON
by hub driver.
This commit modifies hub reset logic in hub_port_connect() to prevent
hub driver from turning back the port power ON if port is not
Hi Felipe:
Thanks for reviewing these,
2015-01-19 22:50 GMT+08:00 Felipe Balbi ba...@ti.com:
Hi,
On Mon, Jan 19, 2015 at 03:56:47PM +0800, Sneeker Yeh wrote:
Synopsis Designware USB3 IP earlier than v3.00a which is configured in
silicon
with DWC_USB3_SUSPEND_ON_DISCONNECT_EN=1, would need
Fixed the following warnings (reported by cppcheck):
[drivers/usb/gadget/function/f_sourcesink.c:1217]: (warning) %d in format
string (no. 1)
requires 'int' but the argument type is 'unsigned int'.
[drivers/usb/gadget/function/f_sourcesink.c:1261]: (warning) %d in format
string (no. 1)
requires
Hi Sylvain,
On Tue, 20 Jan 2015 22:23:29 +0100
Sylvain Rochet sylvain.roc...@finsecur.com wrote:
Vbus IRQ handler needs a started UDC driver to work because it uses
udc-driver, which is set by the UDC start handler. The previous way
chosen was to return from interrupt if udc-driver is NULL
Hi,
On Friday 12 December 2014 08:37 PM, Yunzhi Li wrote:
This patch to add a generic PHY driver for ROCKCHIP usb PHYs,
currently this driver can support RK3288. The RK3288 SoC have
three independent USB PHY IPs which are all configured through a
set of registers located in the GRF (general
Hi John,
-Original Message-
From: Kaukab, Yousaf
Sent: Thursday, January 15, 2015 6:09 PM
To: linux-usb@vger.kernel.org; ba...@ti.com
Cc: john.y...@synopsys.com; Herrero, Gregory; pa...@synopsys.com;
r.bald...@samsung.com; dingu...@opensource.altera.com; Kaukab, Yousaf
Subject:
On Tue, Jan 20, 2015 at 09:43:07PM +0100, Andrew Lunn wrote:
On Tue, Jan 20, 2015 at 09:30:28PM +0100, Maxime Ripard wrote:
Hi Andrew,
On Mon, Jan 19, 2015 at 10:35:07PM +0100, Andrew Lunn wrote:
On Mon, Jan 19, 2015 at 02:01:11PM +0100, Maxime Ripard wrote:
Hi all,
This
hi,
2015-01-19 22:51 GMT+08:00 Felipe Balbi ba...@ti.com:
On Mon, Jan 19, 2015 at 03:56:48PM +0800, Sneeker Yeh wrote:
If an xhci platform has Synopsis device disconnection errata then enable
XHCI_DISCONNECT_QUIRK quirk flag.
Signed-off-by: Sneeker Yeh sneeker@tw.fujitsu.com
---
On Tue, Jan 20, 2015 at 09:23:37AM -0600, Felipe Balbi wrote:
Hi,
On Tue, Jan 20, 2015 at 11:18:21AM +0200, Heikki Krogerus wrote:
Registers ULPI interface with the ULPI bus if HSPHY type is
ULPI.
Signed-off-by: Heikki Krogerus heikki.kroge...@linux.intel.com
Cc: Felipe Balbi
On Tue, Jan 20, 2015 at 09:45:39AM -0600, Felipe Balbi wrote:
Hi,
On Tue, Jan 20, 2015 at 11:18:22AM +0200, Heikki Krogerus wrote:
TUSB1210 ULPI PHY has vendor specific register for eye
diagram tuning. On some platforms the system firmware has
set optimized value to it. In order to not
hi,
2015-01-20 4:00 GMT+08:00 Felipe Balbi ba...@ti.com:
On Mon, Jan 19, 2015 at 07:45:31PM +, John Youn wrote:
-Original Message-
From: Felipe Balbi [mailto:ba...@ti.com]
Sent: Monday, January 19, 2015 6:47 AM
looking at Synopsys Solvnet for this IP, it shows that current
Hi Boris,
On Wed, Jan 21, 2015 at 10:20:16AM +0100, Boris Brezillon wrote:
udc-vbus_prev = 0;
- if (gpio_is_valid(udc-vbus_pin))
- enable_irq(gpio_to_irq(udc-vbus_pin));
+ if (gpio_is_valid(udc-vbus_pin)) {
+ ret = request_irq(gpio_to_irq(udc-vbus_pin),
From c37d436b8832e817ab437baa3324f6c08c846af9 Mon Sep 17 00:00:00 2001
From: Oliver Neukum oneu...@suse.de
Date: Fri, 16 Jan 2015 15:13:28 +0100
Subject: [PATCH] cdc-wdm: bug in ceasing IO
The work submits the URB and the URB queues the work.
To reliably kill this cycle a flag needs to be set
and
From 5cfcd26b872719089dd714b5b1047d4d6e985889 Mon Sep 17 00:00:00 2001
From: Oliver Neukum oneu...@suse.de
Date: Tue, 20 Jan 2015 15:28:53 +0100
Subject: [PATCH] cdc-wdm: fix deadlock in scheduled work
The scheduled work can deadlock in the error
handling case.
kmalloc with GFP_KERNEL in the
From 7cccf82cf2c34f8e5b3a60100a1e35108c52bfba Mon Sep 17 00:00:00 2001
From: Oliver Neukum oneu...@suse.de
Date: Fri, 16 Jan 2015 14:58:23 +0100
Subject: [PATCH] cdc-wdm: race between work queue and pre_reset
pre_reset() must cease IO so the work needs to check
the flag.
Signed-off-by: Oliver
Hi Mathias,
regarding
commit f161ead70fa6a62e432dff6e9dab8e3cfbeabea6
Author: Mathias Nyman mathias.ny...@linux.intel.com
Date: Fri Jan 9 17:18:28 2015 +0200
xhci: Check if slot is already in default state before moving it there
you are marking this for stable only on 3.14+
I don't see
HI Jim,
On Wed, Jan 21, 2015 at 9:29 AM, Jim Keir jimk...@oracledbadirect.com wrote:
Hi,
Thanks for the feedback. I've included a replacement patch here for the
first issue, and will send a separate message with a patch for the third
issue. I've removed the second as per Alan's request. This
On Wed, 21 Jan 2015 deepakdas.li...@gmail.com wrote:
From: Deepak Das deepakdas.li...@gmail.com
Currently if port power is turned off by user on hub port
using USBDEVFS then port power is turned back ON
by hub driver.
This commit modifies hub reset logic in hub_port_connect() to prevent
On Mon, 19 Jan 2015 arun.ramamur...@broadcom.com wrote:
From: Arun Ramamurthy arunr...@broadcom.com
Added support for cases where one controller is connected
to multiple phys.
Signed-off-by: Arun Ramamurthy arunr...@broadcom.com
Reviewed-by: Ray Jui r...@broadcom.com
Reviewed-by: Scott
From: Gregory Herrero gregory.herr...@intel.com
When clearing HALT on an endpoint, req-complete of in progress
requests must be called with locks off. New request should only be
started if there is not already a pending request on the endpoint.
Signed-off-by: Gregory Herrero
From: Gregory Herrero gregory.herr...@intel.com
Add a flag to request physical reset of the controller when
s3c_hsotg_core_init_disconnected is called.
During the usb reset, controller must not be fully reconfigured and
resetted. Else this leads to shorter chirp-k duration during
enumeration.
When using DMA, dwc2 requires buffers to be 4 bytes aligned. Use
bounce buffers if they are not.
Signed-off-by: Mian Yousaf Kaukab yousaf.kau...@intel.com
---
drivers/usb/dwc2/core.h | 2 ++
drivers/usb/dwc2/gadget.c | 62 ++-
2 files changed, 63
From: Gregory Herrero gregory.herr...@intel.com
Handle SET_FEATURE TEST_MODE request sent by the host.
Slightly rework FEATURE request handling to allow parsing
other request types than Endpoint.
Also add a debugfs to change test mode value from user space.
Signed-off-by: Gregory Herrero
Print debug message according to zlp direction. Always saying
Sending is misleading.
Signed-off-by: Mian Yousaf Kaukab yousaf.kau...@intel.com
---
drivers/usb/dwc2/gadget.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/drivers/usb/dwc2/gadget.c
From: Gregory Herrero gregory.herr...@intel.com
USB reset interrupt is no more used to reset the controller.
Thus, reset the controller in pullup callback as described by
Synopsys programming guide. Otherwise enumeration sometimes
fails when usb configuration is switched without physical
From: Gregory Herrero gregory.herr...@intel.com
Pullup doesn't need to be enabled during usb reset since it is
already enabled. This leads to shorter chirp-k duration if done
during usb reset.
Signed-off-by: Gregory Herrero gregory.herr...@intel.com
---
drivers/usb/dwc2/gadget.c | 1 -
1 file
hsotg-phyif is set in dwc2_gadget_init according to phy interface
width. Use it for configuration instead of hardcoded value.
Moreover, set USB turnaround time according to phy width.
Signed-off-by: Mian Yousaf Kaukab yousaf.kau...@intel.com
---
drivers/usb/dwc2/gadget.c | 10 +++---
1 file
From: Gregory Herrero gregory.herr...@intel.com
s3c_hsotg_process_req_feature comments was not correct
Signed-off-by: Gregory Herrero gregory.herr...@intel.com
---
drivers/usb/dwc2/gadget.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/dwc2/gadget.c
From: Gregory Herrero gregory.herr...@intel.com
If phy driver is present, register hcd handle to it and let it take
care of calling usb_add_hcd. Otherwise, add hcd here.
Moreover, save irq number so that it can be used to call usb_add_hcd.
Signed-off-by: Gregory Herrero
Hi,
This patchset consists of some bug fixes, feature enhancements and
cosmetic changes for the dwc2 driver. All the patches are verified on
dwc2 v3.0a with dedicated fifos. Main focus of testing was with dma
enabled. Although basic testing without dma was also done.
This is based on testing/next
Remove dead code as well.
Signed-off-by: Mian Yousaf Kaukab yousaf.kau...@intel.com
---
drivers/usb/dwc2/gadget.c | 14 +-
1 file changed, 1 insertion(+), 13 deletions(-)
diff --git a/drivers/usb/dwc2/gadget.c b/drivers/usb/dwc2/gadget.c
index aa5c0ba..fc9462a 100644
---
From: Gregory Herrero gregory.herr...@intel.com
When a remote wakeup happens during bus_suspend, hcd needs to resume
its root hub.
Signed-off-by: Gregory Herrero gregory.herr...@intel.com
---
drivers/usb/dwc2/hcd.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git
Defines are more readable and searchable than constants.
Signed-off-by: Mian Yousaf Kaukab yousaf.kau...@intel.com
---
drivers/usb/dwc2/gadget.c | 24
drivers/usb/dwc2/hw.h | 1 +
2 files changed, 13 insertions(+), 12 deletions(-)
diff --git
+ if (cflag PARENB) {
+ if (cflag PARODD)
+ new_lcr |= UART_LCR_PARITY; /* odd */
+ else
+ new_lcr |= SERIAL_EVEN_PARITY; /* even */
+ }
If you don't support mark/space also clear CMSPAR in the passed termios
-
Hi,
I got following error:
drivers/usb/dwc2/gadget.c: In function ‘testmode_write’:
drivers/usb/dwc2/gadget.c:3409:2: error: implicit declaration of
function ‘copy_from_user’ [-Werror=implicit-function-declaration]
You should add:
+#include linux/uaccess.h
Best regards,
Robert Baldyga
On
Hello Alan,
On Tue, Jan 20, 2015 at 10:26:30AM -0500, Alan Stern wrote:
On Tue, 20 Jan 2015, Olivier Sobrie wrote:
When usb_queue_reset() is called it schedules a work in view of
resetting the usb interface. When the reset work is running, it
can be scheduled again (e.g. by the usb
85 matches
Mail list logo