[lkml]   [2014]   [Dec]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCH v4 0/3] Fix bugs in kona pwm driver and pwm core
This patchset fixes a number of bugs in the Broadcom Kona pwm driver. It also 
fixes a bug in the pwm core where the state was incorrect on failed calls to

Changes from v3:
- Removed setting the pwm set to disabled if enable fails. This is now
done in the pwm core.
- Removed previous change in kona_pwmc_config() that returned right away if
the state was disabled. The loop needs to execute to ensure that the period
and duty cycle are valid. Delaying this check to when the pwm is enabled is
- Added comments to clarify code.
- Changed commit messages to more accurately reflect the code changes.

Jonathan Richardson (3):
pwm: kona: Fix incorrect config, disable, and polarity procedures
pwm: kona: Remove setting default smooth type and polarity for all
pwm: core: Set enable state properly on failed call to enable

drivers/pwm/core.c | 10 +++-
drivers/pwm/pwm-bcm-kona.c | 116 ++++++++++++++++++++++++++++++++++++--------
2 files changed, 104 insertions(+), 22 deletions(-)


 \ /
  Last update: 2014-12-31 00:01    [W:0.042 / U:0.268 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site