RE: [staging] staging/mei: fix suspend failure

From: Winkler, Tomas
Date: Tue Jun 14 2011 - 06:11:38 EST




> -----Original Message-----
> From: Winkler, Tomas
> Sent: Monday, June 13, 2011 4:40 PM
> To: gregkh@xxxxxxx; a.miskiewicz@xxxxxxxxx
> Cc: linux-kernel@xxxxxxxxxxxxxxx; devel@xxxxxxxxxxxxxxxxxxxxxx; Winkler,
> Tomas
> Subject: [staging] 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@xxxxxxxxx>
> Signed-off-by: Tomas Winkler <tomas.winkler@xxxxxxxxx>
> ---


Greg, I forgot to state that this one is probably 3.0 material.


Thanks
Tomas

---------------------------------------------------------------------
Intel Israel (74) Limited

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/