public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCHv2 0/2] tty: serial: men_z135_uart.c: Updates for men_z135_uart
@ 2015-08-06  7:16 Johannes Thumshirn
  2015-08-06  7:16 ` [PATCH 2/2] tty: serial: men_z135_uart.c: Don't initialize port->lock Johannes Thumshirn
       [not found] ` <535885237699310100f3e6804b3677495634042e.1438844880.git.jthumshirn@suse.de>
  0 siblings, 2 replies; 4+ messages in thread
From: Johannes Thumshirn @ 2015-08-06  7:16 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Jiri Slaby
  Cc: linux-serial, linux-kernel, Peter Hurley, Andreas Werner,
	Johannes Thumshirn

Version two of the updates for the men_z135_uart, incorporating Peter's review
comments.

1/2: Use spin_lock_irq() in settermios() and spin_lock() in ISR to avoid
     deadlocks.
2/2: Removes the double initialization of the port.lock spinlock.

Johannes Thumshirn (2):
  tty: serial: men_z135_uart.c: Fix race between IRQ and set_termios()
  tty: serial: men_z135_uart.c: Don't initialize port->lock

 drivers/tty/serial/men_z135_uart.c | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

-- 
2.4.6


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-08-06 11:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-06  7:16 [PATCHv2 0/2] tty: serial: men_z135_uart.c: Updates for men_z135_uart Johannes Thumshirn
2015-08-06  7:16 ` [PATCH 2/2] tty: serial: men_z135_uart.c: Don't initialize port->lock Johannes Thumshirn
2015-08-06 11:29   ` Peter Hurley
     [not found] ` <535885237699310100f3e6804b3677495634042e.1438844880.git.jthumshirn@suse.de>
2015-08-06 11:29   ` [PATCHv2 1/2] tty: serial: men_z135_uart.c: Fix race between IRQ and set_termios() Peter Hurley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox