diff options
| author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2017-01-28 17:10:40 +0200 |
|---|---|---|
| committer | Thierry Reding <thierry.reding@gmail.com> | 2017-01-30 08:13:39 +0100 |
| commit | b5c050c719922901891bdd8580d224e2a0035db5 (patch) | |
| tree | 5cb36aac5ece4729626dd424c6e13a781991f33d /lib/mpi/mpiutil.c | |
| parent | 684309e5043efaaa94d9b4e65f53f7fdde1f6675 (diff) | |
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 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions
