Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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) +