https://github.com/torvalds/linux
Revision 27100735adbcb872854674bed1d000825f9954ac authored by Alex Deucher on 19 October 2015, 19:49:11 UTC, committed by Alex Deucher on 19 October 2015, 19:53:54 UTC
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>
1 parent 2a7d44f
History
Tip revision: 27100735adbcb872854674bed1d000825f9954ac authored by Alex Deucher on 19 October 2015, 19:49:11 UTC
drm/amdgpu/dpm: don't add pwm attributes if DPM is disabled
Tip revision: 2710073
File Mode Size
Documentation
arch
block
certs
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.get_maintainer.ignore -rw-r--r-- 31 bytes
.gitignore -rw-r--r-- 1.2 KB
.mailmap -rw-r--r-- 5.3 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 94.9 KB
Kbuild -rw-r--r-- 2.6 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 319.9 KB
Makefile -rw-r--r-- 53.2 KB
README -rw-r--r-- 18.2 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top