diff mbox series

[3/5] thermal: imx_tmu: Select LOG

Message ID 20230823172637.303101-3-festevam@gmail.com
State Changes Requested
Delegated to: Tom Rini
Headers show
Series [1/5] imx8mm_evk_defconfig: Select CONFIG_IMX_TMU | expand

Commit Message

Fabio Estevam Aug. 23, 2023, 5:26 p.m. UTC
From: Fabio Estevam <festevam@denx.de>

Without LOG being selected, the dev_info() information
from the imx_tmu driver cannot be printed.

Select the LOG option, so that no dev_info() messages are lost.

Signed-off-by: Fabio Estevam <festevam@denx.de>
---
 drivers/thermal/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Tom Rini Aug. 23, 2023, 5:34 p.m. UTC | #1
On Wed, Aug 23, 2023 at 02:26:35PM -0300, Fabio Estevam wrote:

> From: Fabio Estevam <festevam@denx.de>
> 
> Without LOG being selected, the dev_info() information
> from the imx_tmu driver cannot be printed.
> 
> Select the LOG option, so that no dev_info() messages are lost.
> 
> Signed-off-by: Fabio Estevam <festevam@denx.de>
> ---
>  drivers/thermal/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig
> index 681b621760..0a1d11e216 100644
> --- a/drivers/thermal/Kconfig
> +++ b/drivers/thermal/Kconfig
> @@ -29,6 +29,7 @@ config IMX_SCU_THERMAL
>  config IMX_TMU
>          bool "Thermal Management Unit driver for NXP i.MX8M and iMX93"
>          depends on ARCH_IMX8M || IMX93
> +        select LOG
>          help
>            Support for Temperature sensors on NXP i.MX8M and iMX93.
>            It supports one critical trip point and one passive trip point.

This is now going to bring in a ton of other messages.  Perhaps the
problem is that there are critical messages in this driver which should
not be dev_info ?
diff mbox series

Patch

diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig
index 681b621760..0a1d11e216 100644
--- a/drivers/thermal/Kconfig
+++ b/drivers/thermal/Kconfig
@@ -29,6 +29,7 @@  config IMX_SCU_THERMAL
 config IMX_TMU
         bool "Thermal Management Unit driver for NXP i.MX8M and iMX93"
         depends on ARCH_IMX8M || IMX93
+        select LOG
         help
           Support for Temperature sensors on NXP i.MX8M and iMX93.
           It supports one critical trip point and one passive trip point.