tty: serial: st-asc: Make the locking RT aware
authorLionel Debieve <lionel.debieve@st.com>
Wed, 22 Mar 2017 17:12:31 +0000 (18:12 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 31 Mar 2017 13:29:05 +0000 (15:29 +0200)
commitef49ffd8b5e5a2302c5aa6828619d4c616ab04aa
tree32839213299ac1d5db2ecd055b8f6aa97da8483e
parent19fa6e601b251f13400767813372944b3e2f444b
tty: serial: st-asc: Make the locking RT aware

The lock is a sleeping lock and local_irq_save() is not the
standard implementation now. Working for both -RT and non
RT.

Signed-off-by: Lionel Debieve <lionel.debieve@st.com>
Acked-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Acked-by: Patrice Chotard <patrice.chotard@st.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/st-asc.c