The IRQF_DISABLED is a NOOP and scheduled to be removed. According to
commit e58aa3d2d0cc ("genirq: Run irq handlers with interrupts
disabled") running IRQ handlers with interrupts enabled can cause stack
overflows when the interrupt line of the issuing device is still active.
This patch removes
Nicolas PLANEL (1):
USB: ch341: set tty baud speed according to tty struct
drivers/usb/serial/ch341.c | 15 ++-
1 file changed, 6 insertions(+), 9 deletions(-)
--
2.3.1
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@v
The ch341_set_baudrate() function initialize the device baud speed
according to the value on priv->baud_rate. By default the ch341_open() set
it to a hardcoded value (DEFAULT_BAUD_RATE 9600). Unfortunately, the
tty_struct is not initialized with the same default value. (usually 56700)
This means t
Hi Johan,
Sorry for the delay ... quite busy.
I posted the lastest patch v4 on the ML.
Regards,
Nicolas
On 02/27/2015 01:09 AM, Johan Hovold wrote:
On Thu, Feb 26, 2015 at 10:02:41AM -0500, Nicolas PLANEL wrote:
The ch341_set_baudrate() function initialize the device baud speed according
connect AR9271(USB wifi) to AM335x, and send a flood ping from Mac OSX,
AR9271 is stopped.
on USB bus, the following occurs.
- OUT transaction is ACKed (NYET).
- IN transaction is ACKed (512bytes).
- PING-NAK transaction is continued for about 2 seconds (AR9271 timeout?).
In current imprement
From: Li Jun
Current otg fsm timers are using controller 1ms irq and count it, this patch
is to replace it with hrtimer solution, use one hrtimer for all otg timers.
Signed-off-by: Li Jun
Changes for v2:
- change enabled_otg_timers to be enabled_otg_timer_bits.
- Remove duplicated OTG 1MSIE di
I tried to reproduce this issue on an Intel Ivybridge machine. But I failed.
Kernel version: 4.0.0-rc1 (built against master branch of Greg's usb tree)
USB fabric:
$ sudo lsusb -t
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/3p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hu
Hi All,
This is regarding the registering and handling of ID interrupt to
swich between host and device mode.
My aim is to have OTG functionality for a not-OTG phy.
We wanted to register an ID interrupt which fires of change in ID
value. Based on this ID value, we need to configure the phy to ho
> This is regarding the registering and handling of ID interrupt to swich
> between
> host and device mode.
>
> My aim is to have OTG functionality for a not-OTG phy.
>
> We wanted to register an ID interrupt which fires of change in ID value. Based
> on this ID value, we need to configure th
Hi Peter,
I will need to configure both the phy and the controller.
Thanks
Anjana
On Mon, Mar 2, 2015 at 11:24 AM, Peter Chen wrote:
>
>
>> This is regarding the registering and handling of ID interrupt to swich
>> between
>> host and device mode.
>>
>> My aim is to have OTG functionality for
From: Li Jun
B_DATA_PLS(data-line pulse time) and B_SSEND_SRP(session end to SRP init) are
also from OTG&EH 2.0 Specification and they are not chipidea specific.
Signed-off-by: Li Jun
diff --git a/drivers/usb/chipidea/otg_fsm.c b/drivers/usb/chipidea/otg_fsm.c
index 3014e2c..ba2cb91 100644
---
From: Li Jun
Since BSV irq is enabled for B-device all the time, so B_SESS_VLD timer
is not required, and also no need to check BSV status when B_ASE0_BRST
timer timeout.
Signed-off-by: Li Jun
diff --git a/drivers/usb/chipidea/otg_fsm.c b/drivers/usb/chipidea/otg_fsm.c
index e3cf5be..3014e2c 1
From: Li Jun
Current otg fsm timers are using controller 1ms irq and count it, this patch
is to replace it with hrtimer solution, use one hrtimer for all otg timers.
Signed-off-by: Li Jun
Change for v3:
- clean up the definitions for original timer solution: ci_otg_fsm_timer
and ci_otg_fsm_t
13 matches
Mail list logo