commit | 4cc00ad1373674cdd1bce387bd1d4e3f5c42a99c | [log] [tgz] |
---|---|---|
author | Martin Peres <martin.peres@labri.fr> | Sun Aug 11 22:48:49 2013 -0400 |
committer | Ben Skeggs <bskeggs@redhat.com> | Wed Sep 04 13:46:35 2013 +1000 |
tree | ffd20eee9bc526cfca7e4c392435027b7fa86561 | |
parent | ffb8ea8af20d88ed8b314be62a77b992055d10c8 [diff] |
drm/nouveau/fan: restore pwm value on resume when in manual/auto mode If the fan was in manual or auto mode, we should restore the fan speed that was previously set when resuming. The initial pwm value is saved when loading the module. Signed-off-by: Martin Peres <martin.peres@labri.fr> Tested-by: Martin Peres <martin.peres@labri.fr> Tested-by: Dash Four <mr.dash.four@googlemail.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>