diff options
author | Jean Delvare <khali@linux-fr.org> | 2006-04-18 08:49:56 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-06-11 17:02:27 -0400 |
commit | 8d92bc2270d67a43b1d7e94a8cb6f81f1435fe9a (patch) | |
tree | 62e1d36d17e7b20bf6530104059807242c91f96a /drivers/pci/syscall.c | |
parent | 0ce030395b92270567423d57d9d432eb77df32f2 (diff) |
[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 <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/pci/syscall.c')
0 files changed, 0 insertions, 0 deletions