Skip to contentSkip to conversation

Are calls to activate/shutdown a port serialized?

DISCUSSION Grant Edwards 2 participants 2 messages Jan 18, 2013 TTY layer and serial drivers

lore
Share & tools
lore
#0 lore raw

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)?

Signature · 3 lines
Grant Edwards               grant.b.edwards        Yow! My Aunt MAUREEN was a
                                  at               military advisor to IKE &
                              gmail.com            TINA TURNER!!
#1 lore raw
Quoted 6 lines · On Fri, 18 Jan 2013 18:04:47 +0000 (UTC) Grant Edwards…

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