diff options
author | Lee Jones <lee.jones@linaro.org> | 2016-08-16 12:35:06 +0300 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2016-09-08 11:55:11 +0300 |
commit | 85a834c42a491deed9ac5bca549b93b7a5455d84 (patch) | |
tree | 284fe84bd46ad1f5035d6f63862fb8c09af7f2ba /drivers/pwm/pwm-lpss-platform.c | |
parent | c97267ae831da2711e9592398d490dbd1f4d5ddd (diff) | |
download | linux-85a834c42a491deed9ac5bca549b93b7a5455d84.tar.xz |
pwm: sti: It's now valid for number of PWM channels to be zero
Setting up the STI PWM IP as capture only, with zero PWM output devices
is a perfectly valid configuration. It is no longer okay to assume that
there must be at least 1 PWM output device. In this patch we make the
default number of PWM output devices zero and only configure channels
explicitly requested.
Reported-by: Peter Griffin <peter.griffin@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/pwm/pwm-lpss-platform.c')
0 files changed, 0 insertions, 0 deletions