From: Jean Delvare Date: Tue, 18 Apr 2006 12:49:56 +0000 (+0200) Subject: [PATCH] PCI: Error handling on PCI device resume X-Git-Tag: v2.6.17~25^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d92bc2270d67a43b1d7e94a8cb6f81f1435fe9a;p=pandora-kernel.git [PATCH] PCI: Error handling on PCI device resume We currently don't handle errors properly when resuming a PCI device: * In pci_default_resume() we capture the error code returned by pci_enable_device() but don't pass it up to the caller. Introduced by commit 95a629657dbe28e44a312c47815b3dc3f1ce0970 * In pci_resume_device(), the errors possibly returned by the driver's .resume method or by the generic pci_default_resume() function are ignored. This patch fixes both issues. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed