Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 990ef5ce authored by Eric Holmberg's avatar Eric Holmberg
Browse files

msm: smd_tty: add separate port locking



Currently a single mutex is used to lock access to opening and closing
SMD TTY ports.  This lock is held while waiting for the open timeout to
expire which unnecessarily delays ports that could be opened
immediately.

Add an individual lock for each port to enable each port to be opened
and closed independently.

CRs-Fixed: 541915
Change-Id: Ic698d9b6a1e5f6f4676a6530d3c7c0bc52ba35aa
Signed-off-by: default avatarEric Holmberg <eholmber@codeaurora.org>
parent 49ac45a4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment