Re: [PATCH v2] pwm: spear: Fix enable pwm output

Viresh Kumar
2013-03-30T09:55:43Z

On 30 March 2013 11:07, Axel Lin <axel.lin@ingics.com> wrote:
> The logic to check return value of clk_enable() is reversed, thus
> when clk_enable() passes PWMCR_PWM_ENABLE bit is not set. Fix it.
>
> Signed-off-by: Axel Lin <axel.lin@ingics.com>
> ---
> drivers/pwm/pwm-spear.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)

I am so sorry. clk_prepare also has the same issue :(
Please fix that too and i will ack it ASAP.

@Shiraz: Any idea how they went through?