Skip to content
Commit eb9aecd9 authored by Michael Kao's avatar Michael Kao Committed by Eduardo Valentin
Browse files

thermal: mediatek: fix register index error



The index of msr and adcpnp should match the sensor
which belongs to the selected bank in the for loop.

Fixes: b7cf0053 ("thermal: Add Mediatek thermal driver for mt2701.")
Signed-off-by: default avatarMichael Kao <michael.kao@mediatek.com>
Signed-off-by: default avatarEduardo Valentin <edubezval@gmail.com>
parent 7797ff42
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment