diff options
author | Ondrej Zary <[email protected]> | 2009-06-10 12:57:09 -0700 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2009-06-10 23:07:16 +0200 |
commit | 5e50b9ef975219304cc91d601530994861585bfe (patch) | |
tree | e5fe8ca9b5262c90290f66182615f7e284be8754 /net/lapb/lapb_subr.c | |
parent | 1adbee50fd6fce5af4feb34d2db93cfe4d2066a4 (diff) |
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 <[email protected]>
Cc: "Rafael J. Wysocki" <[email protected]>
Cc: Ingo Molnar <[email protected]>
Acked-by: Pavel Machek <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions