Commit a879058d authored by Mario Limonciello's avatar Mario Limonciello Committed by Rafael J. Wysocki
Browse files

ACPI: x86: s2idle: Add more debugging for AMD constraints parsing



While parsing the constraints show all the entries for the table
to aid with debugging other problems later.

Signed-off-by: default avatarMario Limonciello <mario.limonciello@amd.com>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 9cc8cd08
Loading
Loading
Loading
Loading
+7 −3
Original line number Diff line number Diff line
@@ -156,6 +156,13 @@ static void lpi_device_get_constraints_amd(void)
					}
				}

				acpi_handle_debug(lps0_device_handle,
						  "Name:%s, Enabled: %d, States: %d, MinDstate: %d\n",
						  dev_info.name,
						  dev_info.enabled,
						  dev_info.function_states,
						  dev_info.min_dstate);

				if (!dev_info.enabled || !dev_info.name ||
				    !dev_info.min_dstate)
					continue;
@@ -164,9 +171,6 @@ static void lpi_device_get_constraints_amd(void)
				if (ACPI_FAILURE(status))
					continue;

				acpi_handle_debug(lps0_device_handle,
						  "Name:%s\n", dev_info.name);

				list->min_dstate = dev_info.min_dstate;

				lpi_constraints_table_size++;