--- zzzz-none-000/linux-4.4.271/drivers/clk/qcom/mmcc-apq8084.c 2021-06-03 06:22:09.000000000 +0000 +++ dakota-7530ac-750/linux-4.4.271/drivers/clk/qcom/mmcc-apq8084.c 2023-01-11 09:25:41.000000000 +0000 @@ -3396,6 +3396,9 @@ return ret; regmap = dev_get_regmap(&pdev->dev, NULL); + if (!regmap) + return -ENODEV; + clk_pll_configure_sr_hpm_lp(&mmpll1, regmap, &mmpll1_config, true); clk_pll_configure_sr_hpm_lp(&mmpll3, regmap, &mmpll3_config, false);