]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
sparc: serial: sunhv: fix a double lock bug
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 15 Jul 2016 11:17:33 +0000 (14:17 +0300)
committerLuis Henriques <luis.henriques@canonical.com>
Tue, 6 Dec 2016 16:53:18 +0000 (16:53 +0000)
commit519b1e4e03c0b0f76b954f13e0b0de14d5dd609f
tree71158f17a0e5119e39e110e9e60fed82d6301b45
parent420559a81b232d6dc9d58893c52a23f97f121e7d
sparc: serial: sunhv: fix a double lock bug

BugLink: http://bugs.launchpad.net/bugs/1643637
[ Upstream commit 344e3c7734d5090b148c19ac6539b8947fed6767 ]

We accidentally take the "port->lock" twice in a row.  This old code
was supposed to be deleted.

Fixes: e58e241c1788 ('sparc: serial: Clean up the locking for -rt')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
drivers/tty/serial/sunhv.c