summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2017-01-28 16:10:40 +0100
committerThierry Reding <thierry.reding@gmail.com>2017-01-30 08:13:39 +0100
commitb5c050c719922901891bdd8580d224e2a0035db5 (patch)
tree5cb36aac5ece4729626dd424c6e13a781991f33d /mm
parentpwm: lpss: Avoid potential overflow of base_unit (diff)
downloadlinux-b5c050c719922901891bdd8580d224e2a0035db5.tar.xz
linux-b5c050c719922901891bdd8580d224e2a0035db5.zip
pwm: lpss: Allow duty cycle to be 0
A duty cycle is represented by values [0..<period>] which reflects [0%..100%]. 0% of the duty cycle means always off (logical "0") on output. Allow this in the driver. Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions