diff options
author | Koen Vandeputte <koen.vandeputte@ncentric.com> | 2020-03-09 12:22:15 +0100 |
---|---|---|
committer | Koen Vandeputte <koen.vandeputte@ncentric.com> | 2020-03-09 20:43:53 +0100 |
commit | e64564920a9fa164e9657942de35333d4299abe0 (patch) | |
tree | 197bb25ca27e7eab88bec5f28d15445640bf0e10 /target/linux/bcm27xx/patches-4.19/950-0466-thermal-brcmstb_thermal-Add-BCM2838-support.patch | |
parent | d5a3536631e4d80c1a3364882a82b20a1b3dfdfb (diff) | |
download | upstream-e64564920a9fa164e9657942de35333d4299abe0.tar.gz upstream-e64564920a9fa164e9657942de35333d4299abe0.tar.bz2 upstream-e64564920a9fa164e9657942de35333d4299abe0.zip |
kernel: bump 4.19 to 4.19.108
Refreshed all patches.
Compile-tested on: cns3xxx
Runtime-tested on: cns3xxx
Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Diffstat (limited to 'target/linux/bcm27xx/patches-4.19/950-0466-thermal-brcmstb_thermal-Add-BCM2838-support.patch')
-rw-r--r-- | target/linux/bcm27xx/patches-4.19/950-0466-thermal-brcmstb_thermal-Add-BCM2838-support.patch | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/target/linux/bcm27xx/patches-4.19/950-0466-thermal-brcmstb_thermal-Add-BCM2838-support.patch b/target/linux/bcm27xx/patches-4.19/950-0466-thermal-brcmstb_thermal-Add-BCM2838-support.patch index 6bc76ed6e6..3af52b9a86 100644 --- a/target/linux/bcm27xx/patches-4.19/950-0466-thermal-brcmstb_thermal-Add-BCM2838-support.patch +++ b/target/linux/bcm27xx/patches-4.19/950-0466-thermal-brcmstb_thermal-Add-BCM2838-support.patch @@ -62,8 +62,8 @@ Signed-off-by: Stefan Wahren <wahrenst@gmx.net> + const struct brcmstb_thermal_of_data *socdata; }; - static void avs_tmon_get_coeffs(struct thermal_zone_device *tz, int *slope, -@@ -164,17 +171,18 @@ static inline u32 avs_tmon_temp_to_code( + /* Convert a HW code to a temperature reading (millidegree celsius) */ +@@ -151,17 +158,18 @@ static inline u32 avs_tmon_temp_to_code( static int brcmstb_get_temp(void *data, int *temp) { struct brcmstb_thermal_priv *priv = data; @@ -84,7 +84,7 @@ Signed-off-by: Stefan Wahren <wahrenst@gmx.net> t = avs_tmon_code_to_temp(priv->thermal, val); if (t < 0) -@@ -299,13 +307,34 @@ static int brcmstb_set_trips(void *data, +@@ -286,13 +294,34 @@ static int brcmstb_set_trips(void *data, return 0; } @@ -121,7 +121,7 @@ Signed-off-by: Stefan Wahren <wahrenst@gmx.net> {}, }; MODULE_DEVICE_TABLE(of, brcmstb_thermal_id_table); -@@ -326,10 +355,27 @@ static int brcmstb_thermal_probe(struct +@@ -313,10 +342,27 @@ static int brcmstb_thermal_probe(struct if (IS_ERR(priv->tmon_base)) return PTR_ERR(priv->tmon_base); @@ -150,7 +150,7 @@ Signed-off-by: Stefan Wahren <wahrenst@gmx.net> if (IS_ERR(thermal)) { ret = PTR_ERR(thermal); dev_err(&pdev->dev, "could not register sensor: %d\n", ret); -@@ -369,6 +415,9 @@ static int brcmstb_thermal_exit(struct p +@@ -356,6 +402,9 @@ static int brcmstb_thermal_exit(struct p if (thermal) thermal_zone_of_sensor_unregister(&pdev->dev, priv->thermal); |