Skip to content

Commit

Permalink
pwm: ehrpwm: Allow to call from interrupt context
Browse files Browse the repository at this point in the history
Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
  • Loading branch information
ezequielgarcia authored and RobertCNelson committed Dec 21, 2017
1 parent b77b902 commit d355c57
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/pwm/pwm-tiehrpwm.c
Expand Up @@ -497,6 +497,7 @@ static int ehrpwm_pwm_probe(struct platform_device *pdev)

pm_runtime_enable(&pdev->dev);
pm_runtime_get_sync(&pdev->dev);
pm_runtime_irq_safe(&pdev->dev);

status = pwmss_submodule_state_change(pdev->dev.parent,
PWMSS_EPWMCLK_EN);
Expand Down

0 comments on commit d355c57

Please sign in to comment.