summaryrefslogtreecommitdiffstats
path: root/drivers/connector
diff options
context:
space:
mode:
authorAjit Pal Singh <ajitpal.singh@st.com>2015-01-29 14:34:43 +0530
committerThierry Reding <thierry.reding@gmail.com>2015-01-30 12:16:03 +0100
commitcd264b6a6559caa74579b5afca11379ddde92dca (patch)
tree6a21a884cd632b20c7e23e5c8035efa0a7b537b2 /drivers/connector
parented73598531337bce238915280396c8e0dcee93bc (diff)
downloadlinux-cd264b6a6559caa74579b5afca11379ddde92dca.tar.bz2
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/connector')
0 files changed, 0 insertions, 0 deletions