Commit 80e8b1e5 authored by Hanjun Guo's avatar Hanjun Guo Committed by Rafael J. Wysocki
Browse files

cpufreq: CPPC: put ACPI table after using it



Put the ACPI table to release the table mapping after using it
successfully.

Signed-off-by: default avatarHanjun Guo <guohanjun@huawei.com>
[ rjw: Subject & changelog ]
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent c7402379
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -98,6 +98,8 @@ static void cppc_check_hisi_workaround(void)
			break;
		}
	}

	acpi_put_table(tbl);
}

/* Callback function used to retrieve the max frequency from DMI */