Re: [PATCH 2/3] i8k: Rework error retries

From: Pali RohÃr
Date: Mon Dec 01 2014 - 14:46:09 EST


On Sunday 30 November 2014 22:00:39 Guenter Roeck wrote:
> Instead of returning a previous value if the SMM code returns
> an error when trying to read a temperature, retry once.
> If that fails again, return -ENODATA. Also return -ENODATA if
> an attempt is made to read the GPU temperature but the GPU is
> currently turned off.
>
> Drop the I8K_TEMPERATURE_BUG definition and handle the related
> bug unconditionally.
>
> Cc: Pali RohÃr <pali.rohar@xxxxxxxxx>
> Signed-off-by: Guenter Roeck <linux@xxxxxxxxxxxx>
> ---
> Applies on top of Pali's patch series.
>
> drivers/char/i8k.c | 47
> ++++++++++++++++++++++++----------------------- 1 file
> changed, 24 insertions(+), 23 deletions(-)
>

Working fine GPU temp (turned on or off).

Tested-by: Pali RohÃr <pali.rohar@xxxxxxxxx>

--
Pali RohÃr
pali.rohar@xxxxxxxxx

Attachment: signature.asc
Description: This is a digitally signed message part.