diff options
| author | Jason Lunz <[email protected]> | 2006-10-03 01:14:26 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2006-10-03 08:04:08 -0700 |
| commit | 8c2c0118b86183bf4826db990cae5c8a8d6c6746 (patch) | |
| tree | 71f7e806eccec4ef2d41fc6490395cc01bcb8123 /include/linux | |
| parent | 3f63c5e88a5ce45b423f3712293f1664115b09c0 (diff) | |
[PATCH] ide: reprogram disk pio timings on resume
Add a step to the IDE PM state machine that reprograms disk PIO timings
as the first step on resume. This prevents ide deadlock on
resume-from-ram on my nforce3-based laptop.
An earlier implementation was written entirely within the amd74xx ide
driver, but Alan helpfully pointed out that this is the correct thing to
do globally. Still, I'm only calling hwif->tuneproc() for disks, based
on two things:
- The existing state machine is already passed over for non-disk drives
- Previous testing on my laptop shows that the hangs are related only
to the disk - suspend/resume from a livecd showed that there's no
need for this on the cdrom.
Signed-off-by: Jason Lunz <[email protected]>
Cc: Bartlomiej Zolnierkiewicz <[email protected]>
Cc: "Rafael J. Wysocki" <[email protected]>
Cc: Sergei Shtylyov <[email protected]>
Cc: Pavel Machek <[email protected]>
Cc: Brad Campbell <[email protected]>
Cc: David Brownell <[email protected]>
Cc: Alan Cox <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions