Private
Public Access
2
0

pwm: removed disabling pin on unexport.

Needed to be handled differently based on the running platform

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
Thomas Ingleby
2014-05-19 10:42:23 +01:00
committed by Brendan Le Foll
parent 3d10fc1c0d
commit 6333a21c6f

View File

@@ -223,8 +223,6 @@ maa_pwm_enable(maa_pwm_context dev, int enable)
maa_result_t
maa_pwm_unexport(maa_pwm_context dev)
{
// disable pwm before unexporting
maa_pwm_enable(dev, 0);
FILE *unexport_f;
char buffer[64];
snprintf(buffer, 64, "/sys/class/pwm/pwmchip%d/unexport", dev->chipid);