]> git.karo-electronics.de Git - karo-tx-linux.git/commit
media: staging: lirc_serial: Fix deadlock on resume failure
authorBen Hutchings <ben@decadent.org.uk>
Wed, 16 Nov 2011 04:53:25 +0000 (01:53 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 12 Mar 2012 17:33:00 +0000 (10:33 -0700)
commitc421942a2c438d3d111222d78704f254ce5201d4
tree53a58cffea929beeec4aeb24bdca5b62aa102ec9
parent9971532b094729a08175715fef295cd41d0f7ea7
media: staging: lirc_serial: Fix deadlock on resume failure

commit 1ff1d88e862948ae5bfe490248c023ff8ac2855d upstream.

A resume function cannot remove the device it is resuming!

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lirc/lirc_serial.c