Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 077d1d3d authored by Daniel Lezcano's avatar Daniel Lezcano Committed by Kevin Wangtao
Browse files

BACKPORT: thermal/drivers/hisi: Remove the multiple sensors support



By essence, the tsensor does not really support multiple sensor at the same
time. It allows to set a sensor and use it to get the temperature, another
sensor could be switched but with a delay of 3-5ms. It is difficult to read
simultaneously several sensors without a big delay.

Today, just one sensor is used, it is not necessary to deal with multiple
sensors in the code. Remove them and if it is needed in the future add them
on top of a code which will be clean up in the meantime.

Change-Id: Ia1eaa1c3291f28871f1e22b9467d4d48f55eb4fe
Signed-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
Reviewed-by: default avatarLeo Yan <leo.yan@linaro.org>
Acked-by: default avatarWangtao (Kevin, Kirin) <kevin.wangtao@hisilicon.com>
Signed-off-by: default avatarEduardo Valentin <edubezval@gmail.com>
(cherry picked from commit ff4ec2997df8fe7cc40513dbe5f86d9f88fb6be7)
Signed-off-by: default avatarKevin Wangtao <kevin.wangtao@hisilicon.com>
parent 97be16f6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment