linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] thermal: int3400_thermal: Ignore Unknown Notification Codes
@ 2017-11-14 17:36 Brian Bian
  2017-12-27  2:15 ` Zhang Rui
  0 siblings, 1 reply; 2+ messages in thread
From: Brian Bian @ 2017-11-14 17:36 UTC (permalink / raw)
  To: rui.zhang, edubezval; +Cc: linux-pm, Brian Bian

Some BIOS implementations route ACPI codes other than 0x83 to INT3400
device. Ignore these ACPI notification codes because the INT3400 driver
does not handle them.

Signed-off-by: Brian Bian <brian.bian@linux.intel.com>
---
 drivers/thermal/int340x_thermal/int3400_thermal.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/thermal/int340x_thermal/int3400_thermal.c b/drivers/thermal/int340x_thermal/int3400_thermal.c
index 8ee38f5..c9db1c6 100644
--- a/drivers/thermal/int340x_thermal/int3400_thermal.c
+++ b/drivers/thermal/int340x_thermal/int3400_thermal.c
@@ -211,7 +211,7 @@ static void int3400_notify(acpi_handle handle,
 				thermal_prop);
 		break;
 	default:
-		dev_err(&priv->adev->dev, "Unsupported event [0x%x]\n", event);
+		/* Ignore unknown notification codes sent to INT3400 device */
 		break;
 	}
 }
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] thermal: int3400_thermal: Ignore Unknown Notification Codes
  2017-11-14 17:36 [PATCH] thermal: int3400_thermal: Ignore Unknown Notification Codes Brian Bian
@ 2017-12-27  2:15 ` Zhang Rui
  0 siblings, 0 replies; 2+ messages in thread
From: Zhang Rui @ 2017-12-27  2:15 UTC (permalink / raw)
  To: Brian Bian, edubezval@gmail.com; +Cc: linux-pm@vger.kernel.org

On Tue, 2017-11-14 at 10:36 -0700, Brian Bian wrote:
> Some BIOS implementations route ACPI codes other than 0x83 to INT3400
> device. Ignore these ACPI notification codes because the INT3400
> driver
> does not handle them.
> 
> Signed-off-by: Brian Bian <brian.bian@linux.intel.com>

applied.

thanks,
rui
> ---
>  drivers/thermal/int340x_thermal/int3400_thermal.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/thermal/int340x_thermal/int3400_thermal.c
> b/drivers/thermal/int340x_thermal/int3400_thermal.c
> index 8ee38f5..c9db1c6 100644
> --- a/drivers/thermal/int340x_thermal/int3400_thermal.c
> +++ b/drivers/thermal/int340x_thermal/int3400_thermal.c
> @@ -211,7 +211,7 @@ static void int3400_notify(acpi_handle handle,
>  				thermal_prop);
>  		break;
>  	default:
> -		dev_err(&priv->adev->dev, "Unsupported event
> [0x%x]\n", event);
> +		/* Ignore unknown notification codes sent to INT3400
> device */
>  		break;
>  	}
>  }

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-12-27  2:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-14 17:36 [PATCH] thermal: int3400_thermal: Ignore Unknown Notification Codes Brian Bian
2017-12-27  2:15 ` Zhang Rui

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).