Merge "clk: qcom: debugcc-neo: Don't register debug mux if regmap is NULL"
This commit is contained in:
commit
9590b9c31c
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user