summaryrefslogtreecommitdiff
path: root/drivers/misc/enclosure.c
diff options
context:
space:
mode:
authorOndrej Zary <linux@rainbow-software.org>2009-06-10 19:57:09 (GMT)
committerJens Axboe <jens.axboe@oracle.com>2009-06-10 21:07:16 (GMT)
commit5e50b9ef975219304cc91d601530994861585bfe (patch)
treee5fe8ca9b5262c90290f66182615f7e284be8754 /drivers/misc/enclosure.c
parent1adbee50fd6fce5af4feb34d2db93cfe4d2066a4 (diff)
downloadlinux-5e50b9ef975219304cc91d601530994861585bfe.tar.xz
floppy: fix hibernation
Based on Ingo Molnar's patch from 2006, this makes the floppy work after resume from hibernation, at least on my machine. This fix resets the floppy controller on resume. It was experimentally determined to bring the controller back to life - we don't really know why it works. floppy_init() does the same thing at boot/modprobe time. Signed-off-by: Ondrej Zary <linux@rainbow-software.org> Cc: "Rafael J. Wysocki" <rjw@sisk.pl> Cc: Ingo Molnar <mingo@elte.hu> Acked-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'drivers/misc/enclosure.c')
0 files changed, 0 insertions, 0 deletions