summaryrefslogtreecommitdiff
path: root/drivers/bus
diff options
context:
space:
mode:
authorLukasz Majewski <l.majewski@majess.pl>2017-01-29 22:54:09 +0100
committerThierry Reding <thierry.reding@gmail.com>2017-01-30 09:12:46 +0100
commit970247a486751c79903c7d853198d0106805c641 (patch)
tree69f78bffe9faee6c1af6b46688d0b399ddb9a8ba /drivers/bus
parentb3c088fe0297d7580bef5d5830fa5fc69ae8443c (diff)
pwm: imx: Move PWMv2 software reset code to a separate function
The software reset code has been extracted from imx_pwm_config_v2 function and moved to new one - imx_pwm_sw_reset(). This change reduces the overall size of imx_pwm_config_v2() and prepares it for atomic PWM operation. Suggested-by: Stefan Agner <stefan@agner.ch> Suggested-by: Boris Brezillon <boris.brezillon@free-electrons.com> Signed-off-by: Lukasz Majewski <l.majewski@majess.pl> Reviewed-by: Boris Brezillon <boris.brezillon@free-electrons.com> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/bus')
0 files changed, 0 insertions, 0 deletions