commit | b778df0ec874a2c73ae7dbed458bd5a04a3165f9 | [log] [tgz] |
---|---|---|
author | Matt Spinler <spinler@us.ibm.com> | Mon Oct 16 13:15:18 2017 -0500 |
committer | Matt Spinler <spinler@us.ibm.com> | Tue Oct 24 11:41:21 2017 -0500 |
tree | e215dd509571779427c7363fbc0e07250ccd808b | |
parent | ccfc77b6e84c566ca211842e5698ad36cb0e1d72 [diff] |
Only write pwm_enable if it has an env var Some device drivers don't need pwmX_enable written, so only do it if an environment variable is present that contains the value to write. The environment variable is specified in the conf file along with the other enviroment variables and would look like: ENABLE_fan1 = "2" Change-Id: I484ada60957cb0d2b133a69b36bf12cbaad948dc Signed-off-by: Matt Spinler <spinler@us.ibm.com>