Peter Hurley
807c8d81f4
tty: Replace ASYNC_NORMAL_ACTIVE bit and update atomically
...
Replace ASYNC_NORMAL_ACTIVE bit in the tty_port::flags field with
TTY_PORT_ACTIVE bit in the tty_port::iflags field. Introduce helpers
tty_port_set_active() and tty_port_active() to abstract atomic bit ops.
Extract state changes from port lock sections, as this usage is
broken and confused; the state transitions are protected by the
tty lock (which mutually excludes parallel open/close/hangup),
and no user tests the active state while holding the port lock.
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-04-30 09:26:55 -07:00
..
ircomm
tty: Replace ASYNC_NORMAL_ACTIVE bit and update atomically
2016-04-30 09:26:55 -07:00
irlan
irda: Convert IRDA_DEBUG to pr_debug
2014-11-12 13:56:41 -05:00
irnet
irda: replace current->state by set_current_state()
2015-02-23 17:21:11 -05:00
af_irda.c
net: add validation for the socket syscall protocol argument
2015-12-14 16:09:30 -05:00
discovery.c
irda: Convert IRDA_DEBUG to pr_debug
2014-11-12 13:56:41 -05:00
irda_device.c
irda: Convert IRDA_DEBUG to pr_debug
2014-11-12 13:56:41 -05:00
iriap.c
irda: Fix build failures after IRDA_DEBUG->pr_debug
2014-11-12 22:01:14 -05:00
iriap_event.c
irda: Convert IRDA_DEBUG to pr_debug
2014-11-12 13:56:41 -05:00
irias_object.c
irda: Convert IRDA_DEBUG to pr_debug
2014-11-12 13:56:41 -05:00
irlap.c
irda: use msecs_to_jiffies for conversions
2015-01-30 18:08:25 -08:00
irlap_event.c
irda: Fix build failures after IRDA_DEBUG->pr_debug
2014-11-12 22:01:14 -05:00
irlap_frame.c
irda: Convert IRDA_DEBUG to pr_debug
2014-11-12 13:56:41 -05:00
irlmp.c
irda: precedence bug in irlmp_seq_hb_idx()
2015-10-21 07:48:26 -07:00
irlmp_event.c
irda: Fix build failures after IRDA_DEBUG->pr_debug
2014-11-12 22:01:14 -05:00
irlmp_frame.c
irda: Convert IRDA_DEBUG to pr_debug
2014-11-12 13:56:41 -05:00
irmod.c
irda: Convert IRDA_DEBUG to pr_debug
2014-11-12 13:56:41 -05:00
irnetlink.c
irda: Convert IRDA_DEBUG to pr_debug
2014-11-12 13:56:41 -05:00
irproc.c
irda: irproc: Fix set-but-unused variables.
2011-04-17 16:59:50 -07:00
irqueue.c
irda: Convert IRDA_DEBUG to pr_debug
2014-11-12 13:56:41 -05:00
irsysctl.c
irda: Convert IRDA_DEBUG to pr_debug
2014-11-12 13:56:41 -05:00
irttp.c
irda: Convert function pointer arrays and uses to const
2014-12-10 15:33:16 -05:00
Kconfig
Makefile
parameters.c
irda: Convert function pointer arrays and uses to const
2014-12-10 15:33:16 -05:00
qos.c
irda: Convert function pointer arrays and uses to const
2014-12-10 15:33:16 -05:00
timer.c
irda: use msecs_to_jiffies for conversion to jiffies
2015-05-25 17:46:21 -04:00
wrapper.c
irda: Convert IRDA_DEBUG to pr_debug
2014-11-12 13:56:41 -05:00