agp/intel: remove restore in resume
authorZhenyu Wang <zhenyuw@linux.intel.com>
Mon, 14 Sep 2009 02:47:06 +0000 (10:47 +0800)
committerDave Airlie <airlied@linux.ie>
Mon, 14 Sep 2009 09:17:44 +0000 (19:17 +1000)
commit121264827656f5f06328b17983c796af17dc5949
tree681b1c46ee7950eaac52072c0fb8c20f264987e0
parent5e8d6b8bf94f1ffcb7e3c31b73284c20f297f191
agp/intel: remove restore in resume

As early pci resume has already restored config for host
bridge and graphics device, don't need to restore it again,
This removes an original order hack for graphics device restore.

This fixed the resume hang issue found by Alan Stern on 845G,
caused by extra config restore on graphics device.

Cc: Stable Team <stable@kernel.org>
Cc: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Dave Airlie <airlied@linux.ie>
drivers/char/agp/intel-agp.c