On 03/22/2017 12:35 PM, Marek Szyprowski wrote:
+static int __init exynos5433_cmu_probe(struct platform_device *pdev) +{
+ /* + * Enable runtime pm here, so clock core with use runtime pm for all + * registered clocks. Additionally we increase the runtime PM usage + * count during the clock registration, to avoid the clock core from + * runtime suspending the device. + */
While applying I rephrased the above comment to: /* * Enable runtime PM here to allow the clock core using runtime PM * for the registered clocks. Additionally, we increase the runtime * PM usage count before registering the clocks, to prevent the * clock core from runtime suspending the device. */
+ pm_runtime_get_noresume(dev); + pm_runtime_set_active(dev); + pm_runtime_enable(dev);
-- Thanks, Sylwester -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html