linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* omap-serial: transmission of x-char with DMA (and other issues)
@ 2012-04-13 10:41 Russell King - ARM Linux
  2012-04-16 11:09 ` Raja, Govindraj
  0 siblings, 1 reply; 3+ messages in thread
From: Russell King - ARM Linux @ 2012-04-13 10:41 UTC (permalink / raw)
  To: linux-omap, linux-serial

Can someone tell me how this works with the current omap-serial driver
please?  It looks to me like this has been broken when DMA support was
added to the driver.

Moreover, please look at the probe function error paths.  They seem to
be lacking any kind of realistic cleanup, so are a potential memory leak.

Then there's the issue of fiddling with the xmit buffer so that it's
using coherent memory in the startup and shutdown functions (why?  when
other serial drivers cope just fine without doing this).  If we want to
use DMA coherent memory there, there should be a clean way to do this,
rather than going behind the upper layers.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-04-16 11:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-13 10:41 omap-serial: transmission of x-char with DMA (and other issues) Russell King - ARM Linux
2012-04-16 11:09 ` Raja, Govindraj
2012-04-16 11:19   ` Russell King - ARM Linux

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).