summaryrefslogtreecommitdiff
path: root/drivers/pwm/pwm-lpss-platform.c
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2016-08-16 12:35:06 +0300
committerThierry Reding <thierry.reding@gmail.com>2016-09-08 11:55:11 +0300
commit85a834c42a491deed9ac5bca549b93b7a5455d84 (patch)
tree284fe84bd46ad1f5035d6f63862fb8c09af7f2ba /drivers/pwm/pwm-lpss-platform.c
parentc97267ae831da2711e9592398d490dbd1f4d5ddd (diff)
downloadlinux-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