ctx->clk = ERR_PTR(-ENODEV);if(clk_id ==NULL)returnctx; ctx->clk = clk_get(dev, clk_id);if(IS_ERR(ctx->clk)) { ret = PTR_ERR(ctx->clk);gotoerr_free; } ret =clk_prepare(ctx->clk);if(ret <0) { clk_put(ctx->clk);gotoerr_free; }returnctx; err_free: kfree(ctx);...
}if(clk_prepare_enable(mout_atlas_pll) ||clk_prepare_enable(mout_atlas)) { pr_err("Unable to enable Atlas clocks \n");gotoerr_clk_prepare_enable; } rate = clk_get_rate(mout_bus0_pll_atlas) /1000; info->mpll_freq_khz = rate; info->pll_safe_idx = L17; info->max_support_idx...
Elixir Cross Referencer - clk_prepare_enable identifier references search for Linux v4.3. Defined as a function in include/linux/clk.h. Referenced in 690 files: arch/arm/kernel/smp_twd.c...
51CTO博客已为您找到关于clk_prepare_enable的相关内容,包含IT学习相关文档代码介绍、相关教程视频课程,以及clk_prepare_enable问答内容。更多clk_prepare_enable相关解答可以来51CTO博客参与分享和学习,帮助广大IT技术人实现成长和进步。
+ clk_prepare() this one might sleep. - pm_runtime_get_sync() is holding the lock with IRQs off + omap_gpio_runtime_suspend() + raw_spin_lock_irqsave() + omap_gpio_dbck_disable() + clk_disable_unprepare() Hence, fix it by moeving dbclk prepare/unprepare in OMAP GPIO ...
clk_prepare_enable() may fail, so let's check its return value and propagate it in the case of error. Also, fix the sequence for disabling the clock in the probe error path and also in the remove funct Signed-off-by: Fabio Estevam <fabio.este...@freescale.com> ...
DS90UB940N-Q1 This thread has been locked. If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question. DS90UB940N-Q1: Abnormal MIPI CLK TCLK-PREPAR...
Re: [PATCH 5/7] gpio: omap: fix clk_prepare/unprepare usage On Tue, Aug 18, 2015 at 1:10 PM, Grygorii Strashko <grygorii.stras...@ti.com> wrote:
在下文中一共展示了clk_prepare_enable函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。 示例1: exynos_cpufreq_cluster1_init ▲点赞 6▼ int__initexynos_cpufreq_cluster1_init(struct exynos_dvfs_info *info){unsi...