Commit 902c51e9 authored by Eric Holmberg's avatar Eric Holmberg
Browse files

tty: n_smux: Fix scheduling while atomic issue for ldisc open/close



Unlock spinlock when calling platform_device functions during line
discipline (ldisc) loading an unloading.

This fixes a potential scheduling while atomic condition if the platform
device code needs to allocate memory.

Change-Id: I7dbf15dc62b2276393272392a038c1d846ea2419
Signed-off-by: default avatarEric Holmberg <eholmber@codeaurora.org>
parent a5783d4a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment