| From 667d909c52e58ad198d1a0f493b95eb75ce61b43 Mon Sep 17 00:00:00 2001 |
| From: Alex Hung <alex.hung@canonical.com> |
| Date: Mon, 15 Jun 2020 16:39:57 -0600 |
| Subject: [PATCH] thermal: int3403_thermal: Downgrade error message |
| |
| commit f3d7fb38976b1b0a8462ba1c7cbd404ddfaad086 upstream. |
| |
| Downgrade "Unsupported event" message from dev_err to dev_dbg to avoid |
| flooding with this message on some platforms. |
| |
| Cc: stable@vger.kernel.org # v5.4+ |
| Suggested-by: Zhang Rui <rui.zhang@intel.com> |
| Signed-off-by: Alex Hung <alex.hung@canonical.com> |
| [ rzhang: fix typo in changelog ] |
| Signed-off-by: Zhang Rui <rui.zhang@intel.com> |
| Link: https://lore.kernel.org/r/20200615223957.183153-1-alex.hung@canonical.com |
| Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> |
| |
| diff --git a/drivers/thermal/intel/int340x_thermal/int3403_thermal.c b/drivers/thermal/intel/int340x_thermal/int3403_thermal.c |
| index f5749d4418ae..ff94d7f95216 100644 |
| --- a/drivers/thermal/intel/int340x_thermal/int3403_thermal.c |
| +++ b/drivers/thermal/intel/int340x_thermal/int3403_thermal.c |
| @@ -74,7 +74,7 @@ static void int3403_notify(acpi_handle handle, |
| THERMAL_TRIP_CHANGED); |
| break; |
| default: |
| - dev_err(&priv->pdev->dev, "Unsupported event [0x%x]\n", event); |
| + dev_dbg(&priv->pdev->dev, "Unsupported event [0x%x]\n", event); |
| break; |
| } |
| } |
| -- |
| 2.27.0 |
| |