lkml.org 
[lkml]   [2021]   [Nov]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [v13 2/2] pwm: Add Aspeed ast2600 PWM support
From
Date
On Mon, 2021-11-29 at 14:43 +0800, Billy Tsai wrote:
[...]
> + ret = clk_prepare_enable(priv->clk);
> + if (ret)
> + return dev_err_probe(dev, ret, "Couldn't enable clock\n");
> +
> + ret = reset_control_deassert(priv->reset);
> + if (ret) {
> + dev_err_probe(dev, ret, "Couldn't deassert reset control\n");
> + goto err_disable_clk;
> + }

Is there any reason to keep the clocks running and the controller out of
reset while the PWM outputs are disabled?

regards
Philipp

\
 
 \ /
  Last update: 2021-11-30 10:53    [W:0.075 / U:0.204 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site