agp/intel: remove restore in resume
commit23c686de43928eb7d2bcc2485333e87498f5a27e
authorZhenyu Wang <zhenyuw@linux.intel.com>
Mon, 14 Sep 2009 02:47:06 +0000 (14 10:47 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 24 Sep 2009 15:27:06 +0000 (24 08:27 -0700)
treeaf2760737712a1b0bffa65e88db9d05cf33865e2
parenta9b9f4d868e06a2b98bf760dbd3325c11b03b416
agp/intel: remove restore in resume

commit 121264827656f5f06328b17983c796af17dc5949 upstream.

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: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Dave Airlie <airlied@linux.ie>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/char/agp/intel-agp.c