diff options
author | Dawei Chien <dawei.chien@mediatek.com> | 2017-02-21 13:26:52 +0100 |
---|---|---|
committer | Eduardo Valentin <edubezval@gmail.com> | 2017-04-23 18:01:42 +0200 |
commit | 05d7839aa290901429d8edcd8f7974c9df2bcaa5 (patch) | |
tree | 8e3120324130152712d945b6388b07942448379e /firmware | |
parent | thermal: bcm2835: move to the broadcom subdirectory (diff) | |
download | linux-05d7839aa290901429d8edcd8f7974c9df2bcaa5.tar.xz linux-05d7839aa290901429d8edcd8f7974c9df2bcaa5.zip |
thermal: mt8173: minor mtk_thermal.c cleanups
If thermal bank with 4 sensors, thermal driver should read TEMP_MSR3.
However, currently thermal driver would not read TEMP_MSR3 since mt8173
thermal driver only use 3 sensors on each thermal bank at the same time,
so this patch would not effect temperature.
Only if mt mt8173 thermal driver use 4 sensors on any thermal bank, would
read third sensor two times, and lose fourth sensor of vale.
cc: stable@vger.kernel.org
Fixes: b7cf0053738c ("thermal: Add Mediatek thermal driver for mt2701.")
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: Dawei Chien <dawei.chien@mediatek.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions