mirror of https://gitee.com/openkylin/linux.git
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:
parent
aa22ae4b1f
commit
283b1a8bfb
|
@ -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) +
|
||||
|
|
Loading…
Reference in New Issue