diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2015-10-19 15:49:11 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2015-10-19 15:53:54 -0400 |
commit | 27100735adbcb872854674bed1d000825f9954ac (patch) | |
tree | 8ab5461d7721c5923aab4a3aecf530038fd1100a /arch/avr32/boards | |
parent | 2a7d44f47f53fa1be677f44c73d78b1bcf9c05d9 (diff) | |
download | blackbird-op-linux-27100735adbcb872854674bed1d000825f9954ac.tar.gz blackbird-op-linux-27100735adbcb872854674bed1d000825f9954ac.zip |
drm/amdgpu/dpm: don't add pwm attributes if DPM is disabled
PWM fan control is only available with DPM. There is no non-DPM
support on amdgpu, so we should never get a crash here because
the sysfs nodes would never be created in the first place. Add the
check just in case to be on the safe side.
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'arch/avr32/boards')
0 files changed, 0 insertions, 0 deletions