On Thu, Feb 26, 2015 at 07:25:56PM +0800, Peter Chen wrote:
> On Mon, Feb 09, 2015 at 02:54:48PM +0800, Li Jun wrote:
> > 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 timer
On Thu, Feb 26, 2015 at 10:02:41AM -0500, Nicolas PLANEL wrote:
> 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
> no
On Fri, Feb 27, 2015 at 02:08:29AM +0100, Michiel vd Garde wrote:
> These device ID's are not associated with the cp210x module currently,
> but should be. This patch allows the devices to operate upon
> connecting them to the usb bus as intended.
>
> Signed-off-by: Michiel van de Garde
Now appl
Hello all,
this is a response to
https://bugzilla.kernel.org/show_bug.cgi?id=14987#c6
whose main thread more or less merely rehashes what was
already said in other (bug) reports before it elsewhere.
I'd like for this to be a reminder that the issue never
really was resolved but left lingering b
On Thu, Feb 26, 2015 at 04:48:30PM +0800, zhangfei wrote:
> Hi, Roger
>
> On 02/24/2015 06:13 PM, Roger Quadros wrote:
> >>>On Sat, Feb 21, 2015 at 11:03:05PM +0800, zhangfei wrote:
> +static void hi6220_start_peripheral(struct hi6220_priv *priv, bool
> on)
> +{
>
These device ID's are not associated with the cp210x module currently, but
should be.
This patch allows the devices to operate upon connecting them to the usb bus as
intended.
Signed-off-by: Michiel van de Garde
diff --git a/drivers/usb/serial/cp210x.c b/drivers/usb/serial/cp210x.c
index f40c8
On Fri, Feb 27, 2015 at 01:44:54AM +0100, Michiel vd Garde wrote:
> These device ID's are not associated with the cp210x module currently, but
> should be.
> This patch allows the devices to operate upon connecting them to the usb bus
> as intended.
>
> Signed-off-by: Michiel van de Garde
These device ID's are not associated with the cp210x module currently, but
should be.
This patch allows the devices to operate upon connecting them to the usb bus as
intended.
Signed-off-by: Michiel van de Garde mailto:mgpar...@gmail.com>>
diff --git a/drivers/usb/serial/cp210x.c b/drivers/usb/
On Thu, Feb 26, 2015 at 5:12 PM, Mathias Nyman
wrote:
> When a control transfer has a short data stage, the xHCI controller generates
> two transfer events: a COMP_SHORT_TX event that specifies the untransferred
> amount, and a COMP_SUCCESS event. But when the data stage is not short, only
> the C
musb->int_usb already contains the correct
information for musb-core to handle babble.
In fact, this very check was just causing a
nonsensical babble interrupt storm.
With this I can get test.sh to run and, even though
all tests fail with timeout, that's still better
than locking up the system du
if reset fails, we should return a *negative*
error code, not a positive value.
Signed-off-by: Felipe Balbi
---
drivers/usb/musb/musb_dsps.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/musb/musb_dsps.c b/drivers/usb/musb/musb_dsps.c
index 53bd0e71d19f..7584601
no functional changes, clean up only.
Signed-off-by: Felipe Balbi
---
drivers/usb/musb/musb_core.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c
index f63599368645..10d3f10ba728 100644
--- a/drivers/usb/musb/musb
when musb is operating as host and a remote wakeup
fires up, a resume interrupt will be raised. At that
point SUSPENDM bit is automatically cleared and
RESUME bit is automatically set.
Remove those two from IRQ handler.
Signed-off-by: Felipe Balbi
---
drivers/usb/musb/musb_core.c | 15 -
we can also have babble conditions with LS/FS
and we also want to recover in that case.
Because of that we will drop the check of HSMODE
and always try to run babble recovery.
Suggested-by: Bin Liu
Signed-off-by: Felipe Balbi
---
drivers/usb/musb/musb_core.c | 22 ++
1 file
no functional changes, clean up only.
Signed-off-by: Felipe Balbi
---
drivers/usb/musb/musb_core.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c
index 625ff4321505..2767ce1bf016 100644
--- a/drivers/usb/musb/mu
Whenever babble happens, MUSB controller will
drop session automatically.
The only case where it won't drop the session,
is when we're running on AM335x and SW_SESSION_CTRL
bit has been set. In that case, controller will
not touch session bit so SW has a chance to recover
from babble condition.
S
no functional changes, cleanup only.
Signed-off-by: Felipe Balbi
---
drivers/usb/musb/musb_core.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c
index 191f02ee4ec6..cb9f6bd07b64 100644
--- a/drivers/usb/musb/musb_core.c
+++ b/driver
sometimes we want to just mask/unmask interrupts
without touching devctl register. For those
cases, let's introduce musb_enable_interrupts and
musb_disable_interrupts()
Signed-off-by: Felipe Balbi
---
drivers/usb/musb/musb_core.c | 37 ++---
1 file changed, 26 ins
this makes it easier to filter function traces.
No functional changes.
Signed-off-by: Felipe Balbi
---
drivers/usb/musb/musb_dsps.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/musb/musb_dsps.c b/drivers/usb/musb/musb_dsps.c
index 285f0e4b083d..b52eecaf11a4
When babble IRQ happens, we need to wait only
5.3us (320 cycles of 60MHz clock), we will give
it some slack and schedule our work a 10 usecs into
the future.
Signed-off-by: Felipe Balbi
---
drivers/usb/musb/musb_core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/u
We do *not* want to touch devctl at all when
trying to recover from babble. All we want to
do is mask IRQs until we're done without our
babble recovery, at which point we will unmask
IRQs.
Signed-off-by: Felipe Balbi
---
drivers/usb/musb/musb_core.c | 6 --
1 file changed, 4 insertions(+), 2
All we have to do is, really, drop session bit
and let the session restart.
Big thanks goes to Bin Liu for
inspiring this work.
Signed-off-by: Felipe Balbi
---
drivers/usb/musb/musb_dsps.c | 15 +--
1 file changed, 1 insertion(+), 14 deletions(-)
diff --git a/drivers/usb/musb/musb
There's no point is splitting those anymore.
We're now also able to drop another forward
declaration.
Signed-off-by: Felipe Balbi
---
drivers/usb/musb/musb_core.c | 7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core
recover is a much better name than reset, considering
we don't really reset the IP, just run platform-specific
babble recovery algorithm.
while at that, also fix a typo in comment and add kdoc
for recover memeber of platform_ops.
Signed-off-by: Felipe Balbi
---
drivers/usb/musb/musb_core.c | 2
MUSB does not generate a connect IRQ when working
in peripheral mode.
Signed-off-by: Felipe Balbi
---
drivers/usb/musb/musb_core.c | 4
1 file changed, 4 deletions(-)
diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c
index 81909ea74353..c3c5a6462600 100644
--- a/driv
we're not resetting musb at all, just restarting
the session. This means we don't need to touch PHYs
or VBUS or anything like that. Just make sure session
bit is reenabled after MUSB dropped it.
while at that, make sure to tell usbcore that we're
dropping the session and, thus, disconnecting the
d
that's not needed anymore. Everything that we
call is irq-safe, so we might as well not
have a delayed work for babble recovery.
Signed-off-by: Felipe Balbi
---
drivers/usb/musb/musb_core.c | 17 +
drivers/usb/musb/musb_core.h | 1 -
2 files changed, 9 insertions(+), 9 deletions
There was already a proper place where we were
checking for babble interrupts, move babble
recovery there.
Signed-off-by: Felipe Balbi
---
drivers/usb/musb/musb_core.c | 13 ++---
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/mus
We want to check if that particular bit is
set. It could very well be that bootloader
(or romcode) has fiddled with MUSB before
us which could leave other bits set in this
register.
Signed-off-by: Felipe Balbi
---
drivers/usb/musb/musb_dsps.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
devctl & MUSB_DEVCTL_HM represents a single bit,
just check for the bit, there's really no need
to compare the result against 0.
Signed-off-by: Felipe Balbi
---
drivers/usb/musb/musb_core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/musb/musb_core.c b/drivers
FSDEV is set for both HIGH and FULL speeds,
the correct HIGHSPEED check is done through
power register's HSMODE bit.
Signed-off-by: Felipe Balbi
---
drivers/usb/musb/musb_core.c | 21 ++---
1 file changed, 14 insertions(+), 7 deletions(-)
diff --git a/drivers/usb/musb/musb_core.
Hi folks,
this is v3 of my patchset which has been in discussion with
Bin Liu (hey, thanks).
patches have been tested with AM335x BBB using g_zero and
g_mass_storage.
My BBB, for whatever reason, always causes babble when I
connect the peripheral port to the host port on the same
board. So that
On Thu, Feb 26, 2015 at 02:38:07PM -0600, Bin Liu wrote:
> On Thu, Feb 26, 2015 at 2:31 PM, Felipe Balbi wrote:
> > On Thu, Feb 26, 2015 at 02:25:20PM -0600, Bin Liu wrote:
> >> On Thu, Feb 26, 2015 at 2:19 PM, Felipe Balbi wrote:
> >> > Hi again,
> >> >
> >> > On Thu, Feb 26, 2015 at 02:15:40PM
On Thu, Feb 26, 2015 at 2:31 PM, Felipe Balbi wrote:
> On Thu, Feb 26, 2015 at 02:25:20PM -0600, Bin Liu wrote:
>> On Thu, Feb 26, 2015 at 2:19 PM, Felipe Balbi wrote:
>> > Hi again,
>> >
>> > On Thu, Feb 26, 2015 at 02:15:40PM -0600, Felipe Balbi wrote:
>> >> > > >> >> > On Thu, Feb 26, 2015 at
On Thu, Feb 26, 2015 at 02:25:20PM -0600, Bin Liu wrote:
> On Thu, Feb 26, 2015 at 2:19 PM, Felipe Balbi wrote:
> > Hi again,
> >
> > On Thu, Feb 26, 2015 at 02:15:40PM -0600, Felipe Balbi wrote:
> >> > > >> >> > On Thu, Feb 26, 2015 at 12:25:16PM -0600, Felipe Balbi wrote:
> >> > > >> >> >> FSDEV
On Thu, Feb 26, 2015 at 2:19 PM, Felipe Balbi wrote:
> Hi again,
>
> On Thu, Feb 26, 2015 at 02:15:40PM -0600, Felipe Balbi wrote:
>> > > >> >> > On Thu, Feb 26, 2015 at 12:25:16PM -0600, Felipe Balbi wrote:
>> > > >> >> >> FSDEV is set for both HIGH and FULL speeds,
>> > > >> >> >> the correct HI
Hi again,
On Thu, Feb 26, 2015 at 02:15:40PM -0600, Felipe Balbi wrote:
> > > >> >> > On Thu, Feb 26, 2015 at 12:25:16PM -0600, Felipe Balbi wrote:
> > > >> >> >> FSDEV is set for both HIGH and FULL speeds,
> > > >> >> >> the correct HIGHSPEED check is done through
> > > >> >> >> power register's
Hi,
On Thu, Feb 26, 2015 at 02:11:15PM -0600, Felipe Balbi wrote:
> On Thu, Feb 26, 2015 at 02:04:37PM -0600, Bin Liu wrote:
> > On Thu, Feb 26, 2015 at 1:59 PM, Felipe Balbi wrote:
> > > On Thu, Feb 26, 2015 at 01:49:51PM -0600, Bin Liu wrote:
> > >> On Thu, Feb 26, 2015 at 1:48 PM, Felipe Balbi
On Thu, Feb 26, 2015 at 02:04:37PM -0600, Bin Liu wrote:
> On Thu, Feb 26, 2015 at 1:59 PM, Felipe Balbi wrote:
> > On Thu, Feb 26, 2015 at 01:49:51PM -0600, Bin Liu wrote:
> >> On Thu, Feb 26, 2015 at 1:48 PM, Felipe Balbi wrote:
> >> > On Thu, Feb 26, 2015 at 01:30:21PM -0600, Bin Liu wrote:
>
On Thu, Feb 26, 2015 at 2:04 PM, Bin Liu wrote:
> On Thu, Feb 26, 2015 at 1:59 PM, Felipe Balbi wrote:
>> On Thu, Feb 26, 2015 at 01:49:51PM -0600, Bin Liu wrote:
>>> On Thu, Feb 26, 2015 at 1:48 PM, Felipe Balbi wrote:
>>> > On Thu, Feb 26, 2015 at 01:30:21PM -0600, Bin Liu wrote:
>>> >> Felipe
On Thu, Feb 26, 2015 at 1:59 PM, Felipe Balbi wrote:
> On Thu, Feb 26, 2015 at 01:49:51PM -0600, Bin Liu wrote:
>> On Thu, Feb 26, 2015 at 1:48 PM, Felipe Balbi wrote:
>> > On Thu, Feb 26, 2015 at 01:30:21PM -0600, Bin Liu wrote:
>> >> Felipe,
>> >>
>> >> On Thu, Feb 26, 2015 at 12:27 PM, Felipe
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
Nicolas PLANEL (1):
USB: ch341: set tty baud speed according to tty struct
drivers/usb/serial/ch341.c | 9 +++--
1 file changed, 7 insertions(+), 2 deletions(-)
--
2.3.0
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.ker
On Thu, Feb 26, 2015 at 01:49:51PM -0600, Bin Liu wrote:
> On Thu, Feb 26, 2015 at 1:48 PM, Felipe Balbi wrote:
> > On Thu, Feb 26, 2015 at 01:30:21PM -0600, Bin Liu wrote:
> >> Felipe,
> >>
> >> On Thu, Feb 26, 2015 at 12:27 PM, Felipe Balbi wrote:
> >> > On Thu, Feb 26, 2015 at 12:25:16PM -0600
On Mon, Feb 23, 2015 at 04:02:13PM +0100, Andrzej Pietrasiewicz wrote:
> The legacy printer gadget now contains both a reusable printer function
> and legacy gadget proper implementations interwoven, but logically
> separate. This patch factors out a reusable f_printer.
>
> Signed-off-by: Andrzej
On Thu, Feb 26, 2015 at 01:30:21PM -0600, Bin Liu wrote:
> Felipe,
>
> On Thu, Feb 26, 2015 at 12:27 PM, Felipe Balbi wrote:
> > On Thu, Feb 26, 2015 at 12:25:16PM -0600, Felipe Balbi wrote:
> >> FSDEV is set for both HIGH and FULL speeds,
> >> the correct HIGHSPEED check is done through
> >> pow
On Thu, Feb 26, 2015 at 1:48 PM, Felipe Balbi wrote:
> On Thu, Feb 26, 2015 at 01:30:21PM -0600, Bin Liu wrote:
>> Felipe,
>>
>> On Thu, Feb 26, 2015 at 12:27 PM, Felipe Balbi wrote:
>> > On Thu, Feb 26, 2015 at 12:25:16PM -0600, Felipe Balbi wrote:
>> >> FSDEV is set for both HIGH and FULL speed
On Thu, Feb 26, 2015 at 01:34:03PM -0600, Bin Liu wrote:
> Felipe,
>
> On Thu, Feb 26, 2015 at 12:25 PM, Felipe Balbi wrote:
> > musb->int_usb already contains the correct
> > information for musb-core to handle babble.
> >
> > In fact, this very check was just causing a
> > nonsensical babble in
cdc_ncm disagrees with usbnet about how much framing overhead should
be counted in the tx_bytes statistics, and tries 'fix' this by
decrementing tx_bytes on the transmit path. But statistics must never
be decremented except due to roll-over; this will thoroughly confuse
user-space. Also, tx_bytes
Felipe,
On Thu, Feb 26, 2015 at 12:25 PM, Felipe Balbi wrote:
> Whenever babble happens, MUSB controller will
> drop session automatically.
>
> The only case where it won't drop the session,
> is when we're running on AM335x and SW_SESSION_CTRL
> bit has been set. In that case, controller will
>
Felipe,
On Thu, Feb 26, 2015 at 12:25 PM, Felipe Balbi wrote:
> musb->int_usb already contains the correct
> information for musb-core to handle babble.
>
> In fact, this very check was just causing a
> nonsensical babble interrupt storm because.
I guess this is my English problem. I thought you
Currently the usbnet core does not update the tx_packets statistic for
drivers with FLAG_MULTI_PACKET and there is no hook in the TX
completion path where they could do this.
cdc_ncm and dependent drivers are bumping tx_packets stat on the
transmit path while asix and sr9800 aren't updating it at
Felipe,
On Thu, Feb 26, 2015 at 12:27 PM, Felipe Balbi wrote:
> On Thu, Feb 26, 2015 at 12:25:16PM -0600, Felipe Balbi wrote:
>> FSDEV is set for both HIGH and FULL speeds,
>> the correct HIGHSPEED check is done through
>> power register's HSMODE bit.
>>
>> Signed-off-by: Felipe Balbi
>
> I'm st
On 26-02-15 18:54, Johan Hovold wrote:
> Thanks for the patch. Looks good, but there are a few minor issues:
Oh webmail... :/ version 2 here:
These device ID's are not associated with the cp210x module currently,
but should be. This patch allows the devices to operate upon
connecting them to the u
Hi Sudeep,
Thank you for the patch.
On Thursday 26 February 2015 11:47:57 Sudeep Holla wrote:
> As per the SAF1761 data sheet[0], the DcChipID register represents
> the hardware version number (0001h) and the chip ID (1582h) for the
> Peripheral Controller.
>
> However as per the ISP1761 data sh
On Wed, 25 Feb 2015, Devin Heitmueller wrote:
> Hi Alan,
>
> I think I see what's going on. Permit me to comment on your
> explanation of urb->use_count first, since it's relevant later on.
I won't go over this in great detail, because I think your proposed
explanation is wrong. My impression
Signed-off-by: Tal Shorer
---
drivers/usb/gadget/function/f_mass_storage.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/gadget/function/f_mass_storage.c
b/drivers/usb/gadget/function/f_mass_storage.c
index 811929c..6d5ca2b 100644
--- a/drivers/usb/gadget/functi
On Thu, Feb 26, 2015 at 12:25:16PM -0600, Felipe Balbi wrote:
> FSDEV is set for both HIGH and FULL speeds,
> the correct HIGHSPEED check is done through
> power register's HSMODE bit.
>
> Signed-off-by: Felipe Balbi
I'm still unsure if we should really ignore babble on FS/LS. It seems to
me we
There was already a proper place where we were
checking for babble interrupts, move babble
recovery there.
Signed-off-by: Felipe Balbi
---
drivers/usb/musb/musb_core.c | 13 ++---
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/mus
When babble IRQ happens, we need to wait only
5.3us (320 cycles of 60MHz clock), we will give
it some slack and schedule our work a 10 usecs into
the future.
Signed-off-by: Felipe Balbi
---
drivers/usb/musb/musb_core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/u
We do *not* want to touch devctl at all when
trying to recover from babble. All we want to
do is mask IRQs until we're done without our
babble recovery, at which point we will unmask
IRQs.
Signed-off-by: Felipe Balbi
---
drivers/usb/musb/musb_core.c | 6 --
1 file changed, 4 insertions(+), 2
We want to check if that particular bit is
set. It could very well be that bootloader
(or romcode) has fiddled with MUSB before
us which could leave other bits set in this
register.
Signed-off-by: Felipe Balbi
---
drivers/usb/musb/musb_dsps.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Whenever babble happens, MUSB controller will
drop session automatically.
The only case where it won't drop the session,
is when we're running on AM335x and SW_SESSION_CTRL
bit has been set. In that case, controller will
not touch session bit so SW has a chance to recover
from babble condition.
S
no functional changes, clean up only.
Signed-off-by: Felipe Balbi
---
drivers/usb/musb/musb_core.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c
index 625ff4321505..2767ce1bf016 100644
--- a/drivers/usb/musb/mu
this makes it easier to filter function traces.
No functional changes.
Signed-off-by: Felipe Balbi
---
drivers/usb/musb/musb_dsps.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/musb/musb_dsps.c b/drivers/usb/musb/musb_dsps.c
index 285f0e4b083d..b52eecaf11a4
MUSB does not generate a connect IRQ when working
in peripheral mode.
Signed-off-by: Felipe Balbi
---
drivers/usb/musb/musb_core.c | 4
1 file changed, 4 deletions(-)
diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c
index 81909ea74353..c3c5a6462600 100644
--- a/driv
no functional changes, clean up only.
Signed-off-by: Felipe Balbi
---
drivers/usb/musb/musb_core.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c
index f63599368645..10d3f10ba728 100644
--- a/drivers/usb/musb/musb
sometimes we want to just mask/unmask interrupts
without touching devctl register. For those
cases, let's introduce musb_enable_interrupts and
musb_disable_interrupts()
Signed-off-by: Felipe Balbi
---
drivers/usb/musb/musb_core.c | 37 ++---
1 file changed, 26 ins
if reset fails, we should return a *negative*
error code, not a positive value.
Signed-off-by: Felipe Balbi
---
drivers/usb/musb/musb_dsps.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/musb/musb_dsps.c b/drivers/usb/musb/musb_dsps.c
index 53bd0e71d19f..7584601
when musb is operating as host and a remote wakeup
fires up, a resume interrupt will be raised. At that
point SUSPENDM bit is automatically cleared and
RESUME bit is automatically set.
Remove those two from IRQ handler.
Signed-off-by: Felipe Balbi
---
drivers/usb/musb/musb_core.c | 15 -
musb->int_usb already contains the correct
information for musb-core to handle babble.
In fact, this very check was just causing a
nonsensical babble interrupt storm because.
With this I can get test.sh to run and, even though
all tests fail with timeout, that's still better
than locking up the s
FSDEV is set for both HIGH and FULL speeds,
the correct HIGHSPEED check is done through
power register's HSMODE bit.
Signed-off-by: Felipe Balbi
---
drivers/usb/musb/musb_core.c | 21 ++---
1 file changed, 14 insertions(+), 7 deletions(-)
diff --git a/drivers/usb/musb/musb_core.
devctl & MUSB_DEVCTL_HM represents a single bit,
just check for the bit, there's really no need
to compare the result against 0.
Signed-off-by: Felipe Balbi
---
drivers/usb/musb/musb_core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/musb/musb_core.c b/drivers
On Thu, 26 Feb 2015, Mathias Nyman wrote:
> On 26.02.2015 18:12, Mathias Nyman wrote:
> > When a control transfer has a short data stage, the xHCI controller
> > generates
> > two transfer events: a COMP_SHORT_TX event that specifies the untransferred
> > amount, and a COMP_SUCCESS event. But whe
On Thu, Feb 26, 2015 at 11:56 AM, Felipe Balbi wrote:
> Hi again,
>
> On Thu, Feb 26, 2015 at 11:54:43AM -0600, Felipe Balbi wrote:
>> > >> >> > >> > There was already a proper place where we were
>> > >> >> > >> > checking for babble interrupts, move babble
>> > >> >> > >> > recovery there.
>> >
On Thu, 26 Feb 2015, Mathias Nyman wrote:
> On 26.02.2015 16:57, Alan Stern wrote:
> > On Thu, 26 Feb 2015, Mathias Nyman wrote:
> >
> >> I'm starting to like your idea of setting the urb->actual_length in
> >> advance,
> >> It may actually simplify things.
> >
> > But it will make unlinking mo
Felipe,
On Thu, Feb 26, 2015 at 11:54 AM, Felipe Balbi wrote:
> On Thu, Feb 26, 2015 at 11:51:11AM -0600, Bin Liu wrote:
>> Felipe,
>>
>> On Thu, Feb 26, 2015 at 11:40 AM, Felipe Balbi wrote:
>> > Hi,
>> >
>> > On Thu, Feb 26, 2015 at 11:20:29AM -0600, Bin Liu wrote:
>> >> >> > >> > There was al
Hi again,
On Thu, Feb 26, 2015 at 11:54:43AM -0600, Felipe Balbi wrote:
> > >> >> > >> > There was already a proper place where we were
> > >> >> > >> > checking for babble interrupts, move babble
> > >> >> > >> > recovery there.
> > >> >> > >> >
> > >> >> > >> > Signed-off-by: Felipe Balbi
> > >
On Thu, Feb 26, 2015 at 11:51:11AM -0600, Bin Liu wrote:
> Felipe,
>
> On Thu, Feb 26, 2015 at 11:40 AM, Felipe Balbi wrote:
> > Hi,
> >
> > On Thu, Feb 26, 2015 at 11:20:29AM -0600, Bin Liu wrote:
> >> >> > >> > There was already a proper place where we were
> >> >> > >> > checking for babble in
On Thu, Feb 26, 2015 at 06:37:17PM +0100, Michiel vdG wrote:
> These device ID's are not associated with the cp210x module currently,
> but should be. This patch allows the devices to operate upon
> connecting them to the usb bus as intended.
>
> Tested personally, reviewed by manufacturer
Thanks
Felipe,
On Thu, Feb 26, 2015 at 11:40 AM, Felipe Balbi wrote:
> Hi,
>
> On Thu, Feb 26, 2015 at 11:20:29AM -0600, Bin Liu wrote:
>> >> > >> > There was already a proper place where we were
>> >> > >> > checking for babble interrupts, move babble
>> >> > >> > recovery there.
>> >> > >> >
>> >> > >
Hi,
On Thu, Feb 26, 2015 at 11:20:29AM -0600, Bin Liu wrote:
> >> > >> > There was already a proper place where we were
> >> > >> > checking for babble interrupts, move babble
> >> > >> > recovery there.
> >> > >> >
> >> > >> > Signed-off-by: Felipe Balbi
> >> > >> > ---
> >> > >> > drivers/usb/
These device ID's are not associated with the cp210x module currently,
but should be. This patch allows the devices to operate upon
connecting them to the usb bus as intended.
Tested personally, reviewed by manufacturer
diff --git a/drivers/usb/serial/cp210x.c b/drivers/usb/serial/cp210x.c
index
On February 26, 2015 8:35:17 AM EST, Juergen Gross wrote:
>Add myself as maintainer for the Xen pvUSB stuff.
>
>Signed-off-by: Juergen Gross
>---
> MAINTAINERS | 8
> 1 file changed, 8 insertions(+)
>
>diff --git a/MAINTAINERS b/MAINTAINERS
>index ddc5a8c..8ec1e1f 100644
>--- a/MAINTAINER
Felipe,
On Thu, Feb 26, 2015 at 10:54 AM, Felipe Balbi wrote:
> On Thu, Feb 26, 2015 at 10:44:15AM -0600, Felipe Balbi wrote:
>> On Thu, Feb 26, 2015 at 10:37:50AM -0600, Bin Liu wrote:
>> > Felipe,
>> >
>> > On Thu, Feb 26, 2015 at 10:31 AM, Felipe Balbi wrote:
>> > > On Thu, Feb 26, 2015 at 10
On Thu, Feb 26, 2015 at 10:44:15AM -0600, Felipe Balbi wrote:
> On Thu, Feb 26, 2015 at 10:37:50AM -0600, Bin Liu wrote:
> > Felipe,
> >
> > On Thu, Feb 26, 2015 at 10:31 AM, Felipe Balbi wrote:
> > > On Thu, Feb 26, 2015 at 10:21:38AM -0600, Bin Liu wrote:
> > >> Felipe,
> > >>
> > >> On Thu, Fe
On Thu, Feb 26, 2015 at 10:37:50AM -0600, Bin Liu wrote:
> Felipe,
>
> On Thu, Feb 26, 2015 at 10:31 AM, Felipe Balbi wrote:
> > On Thu, Feb 26, 2015 at 10:21:38AM -0600, Bin Liu wrote:
> >> Felipe,
> >>
> >> On Thu, Feb 26, 2015 at 9:07 AM, Felipe Balbi wrote:
> >> > There was already a proper
On Thu, Feb 19, 2015 at 11:43:27AM +0700, Johan Hovold wrote:
> On Wed, Feb 18, 2015 at 03:22:30PM -0500, Nicolas PLANEL wrote:
> > 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
Felipe,
On Thu, Feb 26, 2015 at 10:31 AM, Felipe Balbi wrote:
> On Thu, Feb 26, 2015 at 10:21:38AM -0600, Bin Liu wrote:
>> Felipe,
>>
>> On Thu, Feb 26, 2015 at 9:07 AM, Felipe Balbi wrote:
>> > There was already a proper place where we were
>> > checking for babble interrupts, move babble
>> >
On Thu, Feb 26, 2015 at 10:21:38AM -0600, Bin Liu wrote:
> Felipe,
>
> On Thu, Feb 26, 2015 at 9:07 AM, Felipe Balbi wrote:
> > There was already a proper place where we were
> > checking for babble interrupts, move babble
> > recovery there.
> >
> > Signed-off-by: Felipe Balbi
> > ---
> > driv
Felipe,
On Thu, Feb 26, 2015 at 9:07 AM, Felipe Balbi wrote:
> There was already a proper place where we were
> checking for babble interrupts, move babble
> recovery there.
>
> Signed-off-by: Felipe Balbi
> ---
> drivers/usb/musb/musb_core.c | 13 ++---
> 1 file changed, 6 insertions(+
On 26.02.2015 18:12, Mathias Nyman wrote:
> When a control transfer has a short data stage, the xHCI controller generates
> two transfer events: a COMP_SHORT_TX event that specifies the untransferred
> amount, and a COMP_SUCCESS event. But when the data stage is not short, only
> the COMP_SUCCESS e
When a control transfer has a short data stage, the xHCI controller generates
two transfer events: a COMP_SHORT_TX event that specifies the untransferred
amount, and a COMP_SUCCESS event. But when the data stage is not short, only
the COMP_SUCCESS event occurs. Therefore, xhci-hcd sets urb->actual_
On 26.02.2015 16:57, Alan Stern wrote:
> On Thu, 26 Feb 2015, Mathias Nyman wrote:
>
>> I'm starting to like your idea of setting the urb->actual_length in advance,
>> It may actually simplify things.
>
> But it will make unlinking more difficult. Also, what will you do if
> there is more than
On Thu, Feb 26, 2015 at 09:18:04AM -0600, Bin Liu wrote:
> Felipe,
>
> On Thu, Feb 26, 2015 at 9:07 AM, Felipe Balbi wrote:
> > musb->int_usb already contains the correct
> > information for musb-core to handle babble.
> >
> > In fact, this very check was just causing a
> > nonsensical babble int
Currently an enabled break state is not disabled on final close nor on
re-open and has to be disabled manually.
Fix this by disabling break on port shutdown.
Reported-by: Jari Ruusu
Tested-by: Jari Ruusu
Signed-off-by: Johan Hovold
---
drivers/usb/serial/pl2303.c | 18 +-
1 fi
Felipe,
On Thu, Feb 26, 2015 at 9:07 AM, Felipe Balbi wrote:
> There was already a proper place where we were
> checking for babble interrupts, move babble
> recovery there.
I commented on the same before, discussed in [1].
[1]: http://marc.info/?l=linux-usb&m=140109400304196&w=2
>
> Signed-o
From: Ahmed S. Darwish
The driver currently limits the number of outstanding, not yet
ACKed, transfers to 16 URBs. Meanwhile, the Kvaser firmware
provides its actual max supported number of outstanding
transmissions in its reply to the CMD_GET_SOFTWARE_INFO message.
One example is the UsbCan-II
From: Ahmed S. Darwish
The Kvaser firmware can only read and write messages that are
not crossing the USB endpoint's wMaxPacketSize boundary. While
receiving commands from the CAN device, if the next command in
the same URB buffer crossed that max packet size boundary, the
firmware puts a zero-le
no functional changes, clean up only.
Signed-off-by: Felipe Balbi
---
drivers/usb/musb/musb_core.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c
index 0569b24719e6..ad895da33047 100644
--- a/drivers/usb/musb/musb
1 - 100 of 144 matches
Mail list logo