Commit 283b1a8b authored by Alex Deucher's avatar Alex Deucher

drm/amd/powerplay: Don't return an error if fan table is missing

It's a valid configuration on some laptops.
Reviewed-by: default avatarTom St Denis <tom.stdenis@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent aa22ae4b
...@@ -797,7 +797,7 @@ static int init_thermal_controller( ...@@ -797,7 +797,7 @@ static int init_thermal_controller(
); );
if (0 == powerplay_table->usFanTableOffset) if (0 == powerplay_table->usFanTableOffset)
return -1; return 0;
fan_table = (const PPTable_Generic_SubTable_Header *) fan_table = (const PPTable_Generic_SubTable_Header *)
(((unsigned long)powerplay_table) + (((unsigned long)powerplay_table) +
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment