Quoting Jeffrey Hugo (2019-02-05 14:12:00)
On 2/5/2019 3:06 PM, Stephen Boyd wrote:
quoted
Quoting Jeffrey Hugo (2019-01-30 08:36:11)
[..]
quoted
+};
+MODULE_DEVICE_TABLE(of, mmcc_msm8998_match_table);
+
+static int mmcc_msm8998_probe(struct platform_device *pdev)
+{
+ struct device *dev = &pdev->dev;
+ int i, ret;
+ struct regmap *regmap;
+ struct clk *c;
+
+ c = devm_clk_get(dev, "xo");
+ if (!IS_ERR(c))
+ dummy_xo_init.parent_names =
+ (const char *[]){__clk_get_name(c)};
+ else
+ return PTR_ERR(c);
+
+ c = devm_clk_get(dev, "gpll0");
+ if (!IS_ERR(c))
+ dummy_gpll0_init.parent_names =
+ (const char *[]){__clk_get_name(c)};
+ else
+ return PTR_ERR(c);
Urgh, my parent mapping series can't come be merged fast enough it
seems!
Sorry, I'm not familiar with the context. Something I should incorporate?
https://lkml.kernel.org/r/20190129061021.94775-1-sboyd@kernel.org