Files
linux/drivers/staging
Peter Huewe 00895580dc Staging: panel: Prevent double-calling of parport_release - fix oops.
commit 060132ae42 upstream.

This patch prevents the code from calling parport_release and
parport_unregister_device twice with the same arguments - and thus fixes an oops.

Rationale:
After the first call the parport is already released and the
handle isn't valid anymore and calling parport_release and
parport_unregister_device twice isn't a good idea.

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Acked-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-08-13 13:19:33 -07:00
..
2009-09-15 12:02:16 -07:00
2009-10-09 13:47:24 -07:00
2009-04-03 14:53:40 -07:00
2009-09-15 12:02:06 -07:00
2010-05-12 14:57:01 -07:00
2009-11-30 16:39:42 -08:00
2008-10-13 14:32:52 -07:00