--- zzzz-none-000/linux-5.4.213/drivers/thermal/qcom/tsens-common.c 2022-09-15 10:04:56.000000000 +0000 +++ alder-5690pro-762/linux-5.4.213/drivers/thermal/qcom/tsens-common.c 2024-08-14 09:02:08.000000000 +0000 @@ -151,7 +151,7 @@ .reg_stride = 4, }; -int __init init_common(struct tsens_priv *priv) +int init_common(struct tsens_priv *priv) { void __iomem *tm_base, *srot_base; struct device *dev = priv->dev; @@ -191,6 +191,8 @@ goto err_put_device; } + priv->iomem_base = tm_base; + priv->tm_map = devm_regmap_init_mmio(dev, tm_base, &tsens_config); if (IS_ERR(priv->tm_map)) { ret = PTR_ERR(priv->tm_map);