Merge "clk: qcom: debugcc-neo: Don't register debug mux if regmap is NULL"

This commit is contained in:
qctecmdr 2022-05-06 11:55:58 -07:00 committed by Gerrit - the friendly Code Review server
commit 9590b9c31c

View File

@ -1394,6 +1394,9 @@ static int clk_debug_neo_probe(struct platform_device *pdev)
}
for (i = 0; i < ARRAY_SIZE(mux_list); i++) {
if (!mux_list[i].mux->regmap)
continue;
ret = devm_clk_register_debug_mux(&pdev->dev, mux_list[i].mux);
if (ret) {
dev_err(&pdev->dev, "Unable to register mux clk %s, err:(%d)\n",