diff options
author | Ajit Pal Singh <ajitpal.singh@st.com> | 2015-01-29 14:34:43 +0530 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2015-01-30 12:16:03 +0100 |
commit | cd264b6a6559caa74579b5afca11379ddde92dca (patch) | |
tree | 6a21a884cd632b20c7e23e5c8035efa0a7b537b2 /drivers/mtd/ubi | |
parent | ed73598531337bce238915280396c8e0dcee93bc (diff) | |
download | linux-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/mtd/ubi')
0 files changed, 0 insertions, 0 deletions