diff mbox series

[1/1] drivers: thermal: processor_thermal: Downgrade error message

Message ID 20190705214127.5336-2-colin.king@canonical.com
State New
Headers show
Series [1/1] drivers: thermal: processor_thermal: Downgrade error message | expand

Commit Message

Colin Ian King July 5, 2019, 9:41 p.m. UTC
From: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>

BugLink: https://bugs.launchpad.net/bugs/1824690

Downgrade "Unsupported event" message from dev_err to dev_dbg. Otherwise it
floods with this message one some platforms.

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
(cherry picked from commit 44c0c23725a16c8803b8809b87651405e8741e4d)
Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 .../thermal/intel/int340x_thermal/processor_thermal_device.c    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Connor Kuehl July 8, 2019, 11:44 p.m. UTC | #1
On 7/5/19 2:41 PM, Colin King wrote:
> From: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
> 
> BugLink: https://bugs.launchpad.net/bugs/1824690
> 
> Downgrade "Unsupported event" message from dev_err to dev_dbg. Otherwise it
> floods with this message one some platforms.
> 
> Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
> Signed-off-by: Zhang Rui <rui.zhang@intel.com>
> (cherry picked from commit 44c0c23725a16c8803b8809b87651405e8741e4d)
> Signed-off-by: Colin Ian King <colin.king@canonical.com>

Acked-by: Connor Kuehl <connor.kuehl@canonical.com>

> ---
>  .../thermal/intel/int340x_thermal/processor_thermal_device.c    | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/thermal/intel/int340x_thermal/processor_thermal_device.c b/drivers/thermal/intel/int340x_thermal/processor_thermal_device.c
> index 2a7cbaa1712d..2e6071a82da2 100644
> --- a/drivers/thermal/intel/int340x_thermal/processor_thermal_device.c
> +++ b/drivers/thermal/intel/int340x_thermal/processor_thermal_device.c
> @@ -265,7 +265,7 @@ static void proc_thermal_notify(acpi_handle handle, u32 event, void *data)
>  				THERMAL_DEVICE_POWER_CAPABILITY_CHANGED);
>  		break;
>  	default:
> -		dev_err(proc_priv->dev, "Unsupported event [0x%x]\n", event);
> +		dev_dbg(proc_priv->dev, "Unsupported event [0x%x]\n", event);
>  		break;
>  	}
>  }
>
diff mbox series

Patch

diff --git a/drivers/thermal/intel/int340x_thermal/processor_thermal_device.c b/drivers/thermal/intel/int340x_thermal/processor_thermal_device.c
index 2a7cbaa1712d..2e6071a82da2 100644
--- a/drivers/thermal/intel/int340x_thermal/processor_thermal_device.c
+++ b/drivers/thermal/intel/int340x_thermal/processor_thermal_device.c
@@ -265,7 +265,7 @@  static void proc_thermal_notify(acpi_handle handle, u32 event, void *data)
 				THERMAL_DEVICE_POWER_CAPABILITY_CHANGED);
 		break;
 	default:
-		dev_err(proc_priv->dev, "Unsupported event [0x%x]\n", event);
+		dev_dbg(proc_priv->dev, "Unsupported event [0x%x]\n", event);
 		break;
 	}
 }