summaryrefslogtreecommitdiffstats
path: root/drivers/pwm/Makefile
diff options
context:
space:
mode:
authorAjit Pal Singh <ajitpal.singh@st.com>2015-01-29 10:04:43 +0100
committerThierry Reding <thierry.reding@gmail.com>2015-01-30 12:16:03 +0100
commitcd264b6a6559caa74579b5afca11379ddde92dca (patch)
tree6a21a884cd632b20c7e23e5c8035efa0a7b537b2 /drivers/pwm/Makefile
parentpwm: sunxi: document OF bindings (diff)
downloadlinux-cd264b6a6559caa74579b5afca11379ddde92dca.tar.xz
linux-cd264b6a6559caa74579b5afca11379ddde92dca.zip
pwm: sti: Maintain a bitmap of configured devices
This patch introduces a bitmap which is used to keep track of the pwm channels which have been configured in a pwm chip. The method used earlier to find the number of configured channels, was to count the pwmdevices with PWMF_REQUESTED field set and period value configured. This was not correct and failed when of_pwm_get()/pwm_get() and then pwm_config() was used. Signed-off-by: Ajit Pal Singh <ajitpal.singh@st.com> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/pwm/Makefile')
0 files changed, 0 insertions, 0 deletions