projects
/
contrib
/
mraa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f035dcd
)
pwm: disable pwm before unexporting
author
Thomas Ingleby
<thomas.c.ingleby@intel.com>
Fri, 20 Jun 2014 15:26:08 +0000
(16:26 +0100)
committer
Thomas Ingleby
<thomas.c.ingleby@intel.com>
Fri, 20 Jun 2014 15:26:08 +0000
(16:26 +0100)
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
src/pwm/pwm.c
patch
|
blob
|
history
diff --git
a/src/pwm/pwm.c
b/src/pwm/pwm.c
index
6a60130
..
6b9067f
100644
(file)
--- a/
src/pwm/pwm.c
+++ b/
src/pwm/pwm.c
@@
-287,6
+287,7
@@
maa_pwm_unexport_force(maa_pwm_context dev)
maa_result_t
maa_pwm_unexport(maa_pwm_context dev)
{
+ maa_pwm_enable(dev, 0);
if (dev->owner) {
return maa_pwm_unexport_force(dev);
}