 +		ret = devm_clk_hw_register(dev, &lcko->clk_hw);
 +		if (ret != 0) {
 +			pr_err("devm_clk_hw_register failure, %s ret: %d\n",
-+						child_node->name, ret);
++						     child_node->name, ret);
 +			return ret;
 +		}
 +

+	if (ret != 0)
+		return ret;
+	ret = litex_clk_change_value(hw, LOCK23_MASK,
+				(((lock >> 16) & 0x1f) << 10) | 0x1, LOCK_REG2);
+	if (ret != 0)
+		return ret;
+	ret = litex_clk_change_value(hw, LOCK23_MASK,
+			      (((lock >> 24) & 0x1f) << 10) | 0x3e9, LOCK_REG3);
+	if (ret != 0)
+		return ret;
+	return 0;

+		if (ret != 0)
+			return ret;
+	}
+
+	return 0;
+}
+
