linux/drivers/staging/mei
Tomas Winkler a534bb6eea Staging: mei: fix suspend failure
wait_event_interruptible_timeout return value was wrongly used.
The remaining timeout was used as the error code.
This fix translated wait_event_interruptible_timeout return value
into error code that can be propagated.

[10291.674121] pci_pm_suspend(): mei_pci_suspend+0x0/0x8b [mei] returns 2500
It's thinkpad t400 with
00:03.0 Communication controller [0780]: Intel Corporation Mobile 4 Series Chipset MEI Controller [8086:2a44] (rev 07)

Reported-by: Arkadiusz Miskiewicz <a.miskiewicz@gmail.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-06-27 14:19:21 -07:00
..
Kconfig staging/mei: add mei to staging Kbuild 2011-05-18 08:30:59 -07:00
Makefile staging/mei: add mei to staging Kbuild 2011-05-18 08:30:59 -07:00
TODO staging/mei: MEI Driver TODO list 2011-05-18 08:30:56 -07:00
hw.h staging/mei: Hardware and MEI driver internal struct definition 2011-05-18 08:30:58 -07:00
init.c Staging: mei: fix suspend failure 2011-06-27 14:19:21 -07:00
interface.c staging/mei: MEI link layer 2011-05-18 08:30:57 -07:00
interface.h staging/mei: MEI link layer 2011-05-18 08:30:57 -07:00
interrupt.c staging/mei: Interrupt handling. 2011-05-18 08:30:56 -07:00
iorw.c staging/mei: PCI device and char driver support. 2011-05-18 08:30:56 -07:00
main.c staging: fix mei build when PM is not enabled 2011-05-19 15:34:31 -07:00
mei.h staging/mei: mei.h defining user space interface 2011-05-18 08:30:58 -07:00
mei.txt staging/mei: MEI Driver documentations 2011-05-18 08:30:55 -07:00
mei_dev.h staging/mei: PCI device and char driver support. 2011-05-18 08:30:56 -07:00
mei_version.h staging/mei: PCI device and char driver support. 2011-05-18 08:30:56 -07:00
wd.c Staging: mei: fix suspend failure 2011-06-27 14:19:21 -07:00