From 16a2f255e23b47d02a7d6e8fdc788cf7663b0f57 Mon Sep 17 00:00:00 2001 From: "Raziel K. Crowe" <101006007+RazielCrowe@users.noreply.github.com> Date: Mon, 4 Apr 2022 14:57:27 +0500 Subject: [PATCH] Update bcm2835_thermal.c --- drivers/thermal/broadcom/bcm2835_thermal.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/thermal/broadcom/bcm2835_thermal.c b/drivers/thermal/broadcom/bcm2835_thermal.c index c8e4344d5a..2f67e203e8 100644 --- a/drivers/thermal/broadcom/bcm2835_thermal.c +++ b/drivers/thermal/broadcom/bcm2835_thermal.c @@ -25,7 +25,7 @@ #define BCM2835_TS_TSENSCTL_PRWDW BIT(0) #define BCM2835_TS_TSENSCTL_RSTB BIT(1) - +#define BCM2835_TS_TSENSCTL_CLC BIT(4) /* * bandgap reference voltage in 6 mV increments * 000b = 1178 mV, 001b = 1184 mV, ... 111b = 1220 mV @@ -40,7 +40,7 @@ #define BCM2835_TS_TSENSCTL_EN_INT BIT(5) #define BCM2835_TS_TSENSCTL_DIRECT BIT(6) #define BCM2835_TS_TSENSCTL_CLR_INT BIT(7) -#define BCM2835_TS_TSENSCTL_THOLD_SHIFT 8 +#define BCM2835_TS_TSENSCTL_THOLD_SHIFT 6 #define BCM2835_TS_TSENSCTL_THOLD_BITS 10 #define BCM2835_TS_TSENSCTL_THOLD_MASK \ GENMASK(BCM2835_TS_TSENSCTL_THOLD_BITS + \