diff options
author | 2015-12-14 10:46:52 -0500 | |
---|---|---|
committer | 2015-12-21 16:42:56 -0500 | |
commit | 283b1a8bfba47921df927bd71b9db40045f4de15 (patch) | |
tree | 73b533585cf41d0690ce812a6f4dc92738c02d2a | |
parent | drm/powerplay/hwmgr: log errors in tonga_hwmgr_backend_init (diff) | |
download | wireguard-linux-283b1a8bfba47921df927bd71b9db40045f4de15.tar.xz wireguard-linux-283b1a8bfba47921df927bd71b9db40045f4de15.zip |
drm/amd/powerplay: Don't return an error if fan table is missing
It's a valid configuration on some laptops.
Reviewed-by: Tom St Denis <tom.stdenis@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r-- | drivers/gpu/drm/amd/powerplay/hwmgr/tonga_processpptables.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/tonga_processpptables.c b/drivers/gpu/drm/amd/powerplay/hwmgr/tonga_processpptables.c index 2f09bb342e29..ae216fe8547d 100644 --- a/drivers/gpu/drm/amd/powerplay/hwmgr/tonga_processpptables.c +++ b/drivers/gpu/drm/amd/powerplay/hwmgr/tonga_processpptables.c @@ -797,7 +797,7 @@ static int init_thermal_controller( ); if (0 == powerplay_table->usFanTableOffset) - return -1; + return 0; fan_table = (const PPTable_Generic_SubTable_Header *) (((unsigned long)powerplay_table) + |