From: grinberg@compulab.co.il (Igor Grinberg)
To: linux-arm-kernel@lists.infradead.org
Subject: gs_start_io() and gs_close()
Date: Thu, 26 Aug 2010 10:05:39 +0300 [thread overview]
Message-ID: <4C761243.6000606@compulab.co.il> (raw)
In-Reply-To: <loom.20100826T032027-25@post.gmane.org>
On 08/26/10 04:21, Jim Sung wrote:
> I'm debugging a problem with the USB gadget serial on the Marvell PXA168
CC'ed LAKML
> platform, which led to the following observations:
>
> - The way gs_start_io() is implemented, each time it is invoked,
> port->read_pool and port->write_pool will grow by QUEUE_SIZE, which
> seems wrong.
>
> For now, I just added a list_empty() check in gs_start_io() on the two
> lists.
>
> - "struct gs_port" does not appear to have provision to notify the USB
> device controller to release any resource (particularly for rx) in
> gs_close().
>
> To fix the problem, I have a hard coded call into the USB device
> controller right now, but that is ugly.
>
> The particular kernel I'm working with is 2.6.28, but I took a look at
> 2.6.35-rc6, and I don't see any change in these areas.
>
> Jim
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-usb" in
> the body of a message to majordomo at vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
--
Regards,
Igor.
next parent reply other threads:[~2010-08-26 7:05 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <loom.20100826T032027-25@post.gmane.org>
2010-08-26 7:05 ` Igor Grinberg [this message]
2010-08-26 18:30 ` gs_start_io() and gs_close() David Brownell
2010-08-31 1:30 ` Jim Sung
2010-08-31 3:42 ` David Brownell
2010-08-31 4:08 ` Greg KH
2010-08-31 3:45 ` David Brownell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4C761243.6000606@compulab.co.il \
--to=grinberg@compulab.co.il \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.