commit | ffe1b01f7d7a50168a0d3f96286dc03098bbc532 | [log] [tgz] |
---|---|---|
author | Michael Kao <michael.kao@mediatek.com> | Fri Feb 01 15:38:07 2019 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Jan 29 10:24:14 2020 +0100 |
tree | 36b656787be6b39aa1b0d8bfb6da7c414c572fa8 | |
parent | d572f434407ea30e9915f3f07055bae01c62a4df [diff] |
thermal: mediatek: fix register index error [ Upstream commit eb9aecd90d1a39601e91cd08b90d5fee51d321a6 ] The index of msr and adcpnp should match the sensor which belongs to the selected bank in the for loop. Fixes: b7cf0053738c ("thermal: Add Mediatek thermal driver for mt2701.") Signed-off-by: Michael Kao <michael.kao@mediatek.com> Signed-off-by: Eduardo Valentin <edubezval@gmail.com> Signed-off-by: Sasha Levin <sashal@kernel.org>