projects
/
openwrt
/
staging
/
jow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
kernel: bump 5.10 to 5.10.35
[openwrt/staging/jow.git]
/
target
/
linux
/
ipq806x
/
patches-5.10
/
104-5-drivers-thermal-tsens-Fix-bug-in-sensor-enable-for-m.patch
diff --git
a/target/linux/ipq806x/patches-5.10/104-5-drivers-thermal-tsens-Fix-bug-in-sensor-enable-for-m.patch
b/target/linux/ipq806x/patches-5.10/104-5-drivers-thermal-tsens-Fix-bug-in-sensor-enable-for-m.patch
index 4f8a6769a0bf367967219ac29ba732f21d7ca160..7b01a67d90043848098d792852962206398fd308 100644
(file)
--- a/
target/linux/ipq806x/patches-5.10/104-5-drivers-thermal-tsens-Fix-bug-in-sensor-enable-for-m.patch
+++ b/
target/linux/ipq806x/patches-5.10/104-5-drivers-thermal-tsens-Fix-bug-in-sensor-enable-for-m.patch
@@
-14,8
+14,6
@@
Acked-by: Thara Gopinath <thara.gopinath@linaro.org>
drivers/thermal/qcom/tsens-8960.c | 23 ++++++++++++++++++++---
1 file changed, 20 insertions(+), 3 deletions(-)
drivers/thermal/qcom/tsens-8960.c | 23 ++++++++++++++++++++---
1 file changed, 20 insertions(+), 3 deletions(-)
-diff --git a/drivers/thermal/qcom/tsens-8960.c b/drivers/thermal/qcom/tsens-8960.c
-index 86585f439985..95fcccafae14 100644
--- a/drivers/thermal/qcom/tsens-8960.c
+++ b/drivers/thermal/qcom/tsens-8960.c
@@ -27,9 +27,9 @@
--- a/drivers/thermal/qcom/tsens-8960.c
+++ b/drivers/thermal/qcom/tsens-8960.c
@@ -27,9 +27,9 @@
@@
-29,7
+27,7
@@
index 86585f439985..95fcccafae14 100644
#define SENSOR0_SHIFT 3
/* INT_STATUS_ADDR bitmasks */
#define SENSOR0_SHIFT 3
/* INT_STATUS_ADDR bitmasks */
-@@ -126,17 +126,34 @@ static int resume_8960(struct tsens_priv
*priv)
+@@ -126,17 +126,34 @@ static int resume_8960(struct tsens_priv
static int enable_8960(struct tsens_priv *priv, int id)
{
int ret;
static int enable_8960(struct tsens_priv *priv, int id)
{
int ret;
@@
-66,6
+64,3
@@
index 86585f439985..95fcccafae14 100644
if (priv->num_sensors > 1)
reg |= mask | SLP_CLK_ENA | EN;
else
if (priv->num_sensors > 1)
reg |= mask | SLP_CLK_ENA | EN;
else
---
-2.30.2
-