why not reuse the musb_irq_work?
On Wed, Apr 2, 2014 at 7:58 PM, Daniel Mack wrote:
> Handle BABBLE interrupt error conditions from a work struct handler.
> This indirection is necessary as we can't be certain that the phy
> functions don't sleep.
>
> Platform layer implementation may pass a babb
On Sun, Dec 22, 2013 at 1:47 AM, Greg KH wrote:
> On Sat, Dec 21, 2013 at 08:19:36PM +0800, Yingchun Li wrote:
>> Hi, I have a box presents to PC as a CDC-ACM device. And I write an simple
>> Application to write data to the box by ttyACM0.
>> The application is a loop that
Hi, I have a box presents to PC as a CDC-ACM device. And I write an simple
Application to write data to the box by ttyACM0.
The application is a loop that write the data to box, and waiting for
the box response
the data.
The question is , after wrote the data to the box, the box will
process the d
e, Nov 26, 2013 at 8:22 PM, Yingchun Li wrote:
>> On Wed, Nov 27, 2013 at 12:38 AM, Bin Liu wrote:
>>> On Thu, Nov 21, 2013 at 4:40 AM, Yingchun Li
>>> wrote:
>>>> hi,
>>>>if musb bulk_split is enable, the segment size will be set accordi
On Wed, Nov 27, 2013 at 12:38 AM, Bin Liu wrote:
> On Thu, Nov 21, 2013 at 4:40 AM, Yingchun Li wrote:
>> hi,
>>if musb bulk_split is enable, the segment size will be set according
>> to hw_ep->max_packet_sz_tx, and the segment will be writen to fifo.
>>Bu
hi,
if musb bulk_split is enable, the segment size will be set according
to hw_ep->max_packet_sz_tx, and the segment will be writen to fifo.
But after the first tranfser end, the segment size will be set no larger
than qh->maxpacket (in musb_host_tx),and the bluk_split make no sense.
so p
Hi, On my board, my musb works as host. my kernel version is 3.4.0.
The host cannot enumerate some low speed mouse normally,but if I
add an extersion cord (abour 1.5m) between the host and device, the
mouse can work normally.
If the enumeration fails, there is always a babble interrupt happen just
I use the case
testusb -a -t 1 -s 4096 -c 10
and find there is no ZLP after a transfer(4096 bytes), I use the
Mentor's own DMA
(CONFIG_USB_INVENTRA_DMA). but when just use PIO, there is ZLP.
In the musb_host_tx, the transfer will end with the case
} else if (dma && urb->transfer_buffer_lengt
for me, I will try to re-write the host application.
If I finish the work, will let you know, thanks a lot.
On Thu, Jul 25, 2013 at 12:53 PM, Xiaofan Chen wrote:
> On Thu, Jul 25, 2013 at 12:39 PM, Yingchun Li
> wrote:
>> Thanks xiaofan
>> The usb device has been fi
, Xiaofan Chen wrote:
> On Wed, Jul 24, 2013 at 8:11 PM, Yingchun Li wrote:
>> Hi,
>> I have a cdc-acm usb device, used for transfering data to/from windows
>> PC,
>> for windows PC, and I use the Documentation/usb/linux-cdc-acm.inf to load the
>> windo
Ok, but the linux-cdc-acm.inf is provieded by us, so I think there should
be something I can learn.
Thanks anyway!
On Wed, Jul 24, 2013 at 11:10 PM, Greg KH wrote:
> On Wed, Jul 24, 2013 at 08:11:05PM +0800, Yingchun Li wrote:
>> Hi,
>> I have a cdc-acm usb device, used
Hi,
I have a cdc-acm usb device, used for transfering data to/from windows PC,
for windows PC, and I use the Documentation/usb/linux-cdc-acm.inf to load the
windows driver(which is the usbser.sys).
On PC, there is an application use the COM port to transfer the data.
During transfer, th
Hi, Felipe
Does the following patch still break your editor? I have fix the patch
and resend it again, but I didn't find the patch in your 'big patch
bomb' for v3.10,
should I fix something?
On Tue, Jan 29, 2013 at 4:22 PM, yingchun li wrote:
> According to "musbhdrd
According to "musbhdrd usb 2.0 high-speed dual-role controller
Product Specification"
the number of dma channels can be read from register RAMINFO.
it is not always that number of dma channels is MUSB_HSDMA_CHANNELS, some
SOC may have little dma channels.
Signed-off-by: Yingchun Li
--
4 channel).
Signed-off-by: Yingchun Li
---
drivers/usb/musb/musbhsdma.c | 13 -
1 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/drivers/usb/musb/musbhsdma.c b/drivers/usb/musb/musbhsdma.c
index 3d1fd52..0130d82 100644
--- a/drivers/usb/musb/musbhsdma.c
+++ b/drivers/usb/musb/m
15 matches
Mail list logo