diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2015-12-14 10:46:52 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2015-12-21 16:42:56 -0500 |
commit | 283b1a8bfba47921df927bd71b9db40045f4de15 (patch) | |
tree | 73b533585cf41d0690ce812a6f4dc92738c02d2a /drivers | |
parent | aa22ae4b1f23a52c7e92599ee47a9b9fbb129604 (diff) |
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>
Diffstat (limited to 'drivers')
-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) + |