diff options
author | Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> | 2017-04-24 13:01:07 +0300 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2017-08-21 11:39:11 +0300 |
commit | 23aa19a22e7fcb49ebe198517d0a15b46810243f (patch) | |
tree | d09a22b062d62e11deadbe009804eb8c79ca91ed /drivers/pwm/pwm-lpss-pci.c | |
parent | 8bdb65dc8575978214785462870852a56b6a21ac (diff) | |
download | linux-23aa19a22e7fcb49ebe198517d0a15b46810243f.tar.xz |
pwm: samsung: Remove redundant checks from pwm_samsung_config()
If the requested period_ns and duty_ns values are identical to the last
programmed ones pwm_samsung_config() returns early and skips the
hardware configuration. The same checks are now done by the PWM core so
the driver specific ones can be removed.
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/pwm/pwm-lpss-pci.c')
0 files changed, 0 insertions, 0 deletions