Re: [PATCH 1/7] thermal: mediatek: fix register index error

2019-02-12 Thread Michael Kao
On Mon, 2019-02-04 at 18:24 +0100, Matthias Brugger wrote: > > On 01/02/2019 08:38, michael@mediatek.com wrote: > > From: Michael Kao > > > > The index of msr and adcpnp should match the sensor > > which belongs to the selected bank in the for loop. > > > > If I get that right, this fixes

Re: [PATCH 1/7] thermal: mediatek: fix register index error

2019-02-04 Thread Matthias Brugger
On 01/02/2019 08:38, michael@mediatek.com wrote: > From: Michael Kao > > The index of msr and adcpnp should match the sensor > which belongs to the selected bank in the for loop. > If I get that right, this fixes b7cf0053738c ("thermal: Add Mediatek thermal driver for mt2701.") So pleas

[PATCH 1/7] thermal: mediatek: fix register index error

2019-01-31 Thread michael.kao
From: Michael Kao The index of msr and adcpnp should match the sensor which belongs to the selected bank in the for loop. Signed-off-by: Michael Kao --- drivers/thermal/mtk_thermal.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/thermal/mtk_thermal.c b/drive