diff options
author | Stijn Segers <foss@volatilesystems.org> | 2018-06-29 22:29:06 +0200 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2018-07-02 07:06:23 +0200 |
commit | ab7cabd09df542cf3558725573c2ef2cf1c7cdff (patch) | |
tree | 791b3f74b7c5e60f1409836871287337f4cf0e38 /target/linux/mediatek/patches-4.14/0200-thermal-mediatek-add-support-for-MT7622-SoC.patch | |
parent | c96b344466fc80cb5815eeab87c6ca9a29fb9207 (diff) | |
download | upstream-ab7cabd09df542cf3558725573c2ef2cf1c7cdff.tar.gz upstream-ab7cabd09df542cf3558725573c2ef2cf1c7cdff.tar.bz2 upstream-ab7cabd09df542cf3558725573c2ef2cf1c7cdff.zip |
kernel: bump 4.14 to 4.14.52 for 18.06
Compile-tested on: ramips/mt7621, x86/64.
Run-tested on: ramips/mt7621.
Signed-off-by: Stijn Segers <foss@volatilesystems.org>
Diffstat (limited to 'target/linux/mediatek/patches-4.14/0200-thermal-mediatek-add-support-for-MT7622-SoC.patch')
-rw-r--r-- | target/linux/mediatek/patches-4.14/0200-thermal-mediatek-add-support-for-MT7622-SoC.patch | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/target/linux/mediatek/patches-4.14/0200-thermal-mediatek-add-support-for-MT7622-SoC.patch b/target/linux/mediatek/patches-4.14/0200-thermal-mediatek-add-support-for-MT7622-SoC.patch index 4f31eb8d65..731bd163d8 100644 --- a/target/linux/mediatek/patches-4.14/0200-thermal-mediatek-add-support-for-MT7622-SoC.patch +++ b/target/linux/mediatek/patches-4.14/0200-thermal-mediatek-add-support-for-MT7622-SoC.patch @@ -14,8 +14,6 @@ Signed-off-by: Shunli Wang <shunli.wang@mediatek.com> drivers/thermal/mtk_thermal.c | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) -diff --git a/drivers/thermal/mtk_thermal.c b/drivers/thermal/mtk_thermal.c -index c75661a3801a..e709acb2235e 100644 --- a/drivers/thermal/mtk_thermal.c +++ b/drivers/thermal/mtk_thermal.c @@ -153,6 +153,12 @@ @@ -31,7 +29,7 @@ index c75661a3801a..e709acb2235e 100644 struct mtk_thermal; struct thermal_bank_cfg { -@@ -242,6 +248,12 @@ static const int mt2712_adcpnp[MT2712_NUM_SENSORS_PER_ZONE] = { +@@ -242,6 +248,12 @@ static const int mt2712_adcpnp[MT2712_NU static const int mt2712_mux_values[MT2712_NUM_SENSORS] = { 0, 1, 2, 3 }; @@ -44,7 +42,7 @@ index c75661a3801a..e709acb2235e 100644 /** * The MT8173 thermal controller has four banks. Each bank can read up to * four temperature sensors simultaneously. The MT8173 has a total of 5 -@@ -329,6 +341,25 @@ static const struct mtk_thermal_data mt2712_thermal_data = { +@@ -329,6 +341,25 @@ static const struct mtk_thermal_data mt2 .sensor_mux_values = mt2712_mux_values, }; @@ -70,7 +68,7 @@ index c75661a3801a..e709acb2235e 100644 /** * raw_to_mcelsius - convert a raw ADC value to mcelsius * @mt: The thermal controller -@@ -631,6 +662,10 @@ static const struct of_device_id mtk_thermal_of_match[] = { +@@ -631,6 +662,10 @@ static const struct of_device_id mtk_the { .compatible = "mediatek,mt2712-thermal", .data = (void *)&mt2712_thermal_data, @@ -81,6 +79,3 @@ index c75661a3801a..e709acb2235e 100644 }, { }, }; --- -2.11.0 - |