MLK-16470 thermal: imx_thermal: fix wrong thermal grade register read for MX7D
authorDong Aisheng <aisheng.dong@nxp.com>
Wed, 13 Sep 2017 14:23:21 +0000 (22:23 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:38:33 +0000 (15:38 -0500)
commit11609bf0cdcb2263486050f62e4e95eefa5e4f60
treee078948460410ee3f51053dec49fb16f378e8b3a
parent906bd9d47538bc84a369fb1948f30bd04792e1ee
MLK-16470 thermal: imx_thermal: fix wrong thermal grade register read for MX7D

From MX7D Fuse Map v2.9, the thermal grade register is 0x440[7:6],
not 0x480[7:6] as before.

Fixes: 2045abb4391a ("MLK-11518-01 thermal: imx: add thermal support for imx7")
Reviewed-by: Bai Ping <ping.bai@nxp.com>
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
drivers/thermal/imx_thermal.c