All of lore.kernel.org
 help / color / mirror / Atom feed
* Are calls to activate/shutdown a port serialized?
@ 2013-01-18 18:04 Grant Edwards
  2013-01-18 19:26 ` Alan Cox
  0 siblings, 1 reply; 2+ messages in thread
From: Grant Edwards @ 2013-01-18 18:04 UTC (permalink / raw)
  To: linux-serial

I ported an old tty driver to the new tty_port_ helper functions.  And
I'm trying to track down a couple of bugs in the new version of the
driver.

Are calls to the port's activate/shutdown methods serialized (either
globally or per-port)?
    
-- 
Grant Edwards               grant.b.edwards        Yow! My Aunt MAUREEN was a
                                  at               military advisor to IKE &
                              gmail.com            TINA TURNER!!


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

* Re: Are calls to activate/shutdown a port serialized?
  2013-01-18 18:04 Are calls to activate/shutdown a port serialized? Grant Edwards
@ 2013-01-18 19:26 ` Alan Cox
  0 siblings, 0 replies; 2+ messages in thread
From: Alan Cox @ 2013-01-18 19:26 UTC (permalink / raw)
  To: Grant Edwards; +Cc: linux-serial

On Fri, 18 Jan 2013 18:04:47 +0000 (UTC)
Grant Edwards <grant.b.edwards@gmail.com> wrote:

> I ported an old tty driver to the new tty_port_ helper functions.  And
> I'm trying to track down a couple of bugs in the new version of the
> driver.
> 
> Are calls to the port's activate/shutdown methods serialized (either
> globally or per-port)?

The activate and shutdown methods are serialized by the per port mutex.

Alan

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

end of thread, other threads:[~2013-01-18 19:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-18 18:04 Are calls to activate/shutdown a port serialized? Grant Edwards
2013-01-18 19:26 ` Alan Cox

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.