]> 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 19:31:39 +0000 (12:31 -0700)
commit47cd23fd083012c8f11a93be0af485d5f2358491
treed86f65de300256dde39844ba9a9c0d7c0134d789
parent1632fb6031bb1510ec61a1540b348cf08640450c
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/media/lirc/lirc_serial.c