Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1264028 > unrolled thread
| Started by | Thierry Reding <thierry.reding@gmail.com> |
|---|---|
| First post | 2015-11-06 14:50 +0100 |
| Last post | 2015-11-06 14:50 +0100 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [PATCH v10 1/1] pwm: core: Set enable state properly on failed call to enable Thierry Reding <thierry.reding@gmail.com> - 2015-11-06 14:50 +0100
| From | Thierry Reding <thierry.reding@gmail.com> |
|---|---|
| Date | 2015-11-06 14:50 +0100 |
| Subject | Re: [PATCH v10 1/1] pwm: core: Set enable state properly on failed call to enable |
| Message-ID | <qrPyW-59d-17@gated-at.bofh.it> |
[Multipart message — attachments visible in raw view] — view raw
On Fri, Oct 16, 2015 at 05:40:58PM -0700, Jonathan Richardson wrote: > The pwm_enable function didn't clear the enabled bit if a call to a > clients enable function returned an error. The result was that the state > of the pwm core was wrong. Clearing the bit when enable returns an error > ensures the state is properly set. > > Tested-by: Jonathan Richardson <jonathar@broadcom.com> > Reviewed-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> > Signed-off-by: Jonathan Richardson <jonathar@broadcom.com> > --- > drivers/pwm/core.c | 33 ++++++++++++++++++++++++++------- > include/linux/pwm.h | 2 ++ > 2 files changed, 28 insertions(+), 7 deletions(-) Applied, thanks. Thierry
Back to top | Article view | linux.kernel
csiph-web