From: Ondrej Zary Date: Wed, 10 Jun 2009 19:57:09 +0000 (-0700) Subject: floppy: fix hibernation X-Git-Tag: v2.6.31-rc1~389^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e50b9ef975219304cc91d601530994861585bfe;p=pandora-kernel.git 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 Cc: "Rafael J. Wysocki" Cc: Ingo Molnar Acked-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Jens Axboe --- Reading git-diff-tree failed