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>
This commit is contained in:
Alex Deucher 2015-12-14 10:46:52 -05:00
parent aa22ae4b1f
commit 283b1a8bfb

View File

@ -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) +