mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
Merge branch 'pwm-dmtimer-fixes' into omap-for-v5.0/fixes-v2
This commit is contained in:
commit
072167d13c
3 changed files with 18 additions and 4 deletions
|
|
@ -154,6 +154,10 @@ static int omap_dm_timer_of_set_source(struct omap_dm_timer *timer)
|
|||
if (IS_ERR(parent))
|
||||
return -ENODEV;
|
||||
|
||||
/* Bail out if both clocks point to fck */
|
||||
if (clk_is_match(parent, timer->fclk))
|
||||
return 0;
|
||||
|
||||
ret = clk_set_parent(timer->fclk, parent);
|
||||
if (ret < 0)
|
||||
pr_err("%s: failed to set parent\n", __func__);
|
||||
|
|
@ -864,7 +868,6 @@ static int omap_dm_timer_probe(struct platform_device *pdev)
|
|||
timer->pdev = pdev;
|
||||
|
||||
pm_runtime_enable(dev);
|
||||
pm_runtime_irq_safe(dev);
|
||||
|
||||
if (!timer->reserved) {
|
||||
ret = pm_runtime_get_sync(dev);
|
||||
|
|
|
|||
Loading…
Reference in a new issue