]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/powerplay: don't succeed in getters if fan is missing
authorGrazvydas Ignotas <notasas@gmail.com>
Sat, 29 Oct 2016 20:32:44 +0000 (23:32 +0300)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 31 Oct 2016 16:33:31 +0000 (12:33 -0400)
commit24b18bcf0aeade5f8008c4b3379ae340404f9e13
tree86a483405d1d3c14c064a6f5d55fb696f9183371
parent145b506ca006fc51f9da6555471760e7248bdbb6
drm/amd/powerplay: don't succeed in getters if fan is missing

Otherwise callers end up using uninitialized data.

Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/smu7_thermal.c