Commit 5144b7cd authored by Alex Deucher's avatar Alex Deucher Committed by Tim Gardner

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

BugLink: http://bugs.launchpad.net/bugs/1546572

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>
(cherry picked from commit 283b1a8b)
Signed-off-by: default avatarAlberto Milone <alberto.milone@canonical.com>
Signed-off-by: default avatarTim Gardner <tim.gardner@canonical.com>
parent 8d43143d
......@@ -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) +
......
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