[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)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 24 Nov 2011 20:17:50 +0000 (18:17 -0200)
commit1ff1d88e862948ae5bfe490248c023ff8ac2855d
treebf976c9db1c2411c4d037e2e113b495957c02f4b
parentc8e57e1b766c2321aa76ee5e6878c69bd2313d62
[media] staging: lirc_serial: Fix deadlock on resume failure

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>
drivers/staging/media/lirc/lirc_serial.c