diff options
author | Lukasz Majewski <l.majewski@majess.pl> | 2017-01-29 22:54:10 +0100 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2017-01-30 09:12:48 +0100 |
commit | 73b1ff1f3e5ccc22b31fa44c98460ef05393181c (patch) | |
tree | 2e48d869a804b72317316bb4b22b503f1b4a9f2f /drivers/misc/Kconfig | |
parent | 970247a486751c79903c7d853198d0106805c641 (diff) | |
download | op-kernel-dev-73b1ff1f3e5ccc22b31fa44c98460ef05393181c.zip op-kernel-dev-73b1ff1f3e5ccc22b31fa44c98460ef05393181c.tar.gz |
pwm: imx: Move PWMv2 wait for fifo slot code to a separate function
The code, which waits for fifo slot, has been extracted from
imx_pwm_config_v2 function and moved to new one - imx_pwm_wait_fifo_slot().
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/misc/Kconfig')
0 files changed, 0 insertions, 0 deletions