]> git.dujemihanovic.xyz Git - u-boot.git/commit
pwm: sifive: make set_config() and set_enable() work properly
authorVincent Chen <vincent.chen@sifive.com>
Mon, 3 May 2021 07:26:49 +0000 (15:26 +0800)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Fri, 14 May 2021 08:25:42 +0000 (16:25 +0800)
commitcc25f346c9e58f02efb68003d0526825fee265ea
treecae415865902417272c19c408ce3095244bc0de3
parent81dadfa4bcf77c263edce444cc724e8784cbb683
pwm: sifive: make set_config() and set_enable() work properly

The pwm_sifive_set_config() and pwm_sifive_set_enable() cannot work
properly due to the wrong implementations. It will cause the u-boot
PWM command to not work as expected. The bugs will be resolved in this
patch.

Signed-off-by: Vincent Chen <vincent.chen@sifive.com>
Reviewed-by: Rick Chen <rick@andestech.com>
drivers/pwm/pwm-sifive.c