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

Commit bc96f942 authored by Jean Delvare's avatar Jean Delvare Committed by Dave Airlie
Browse files

drm/radeon/kms: Hide debugging message



Use the proper macro to issue the debugging message in
radeon_atif_call(). Otherwise we spam the log of many systems with a
message which looks like an error message of unknown origin, and could
thus confuse the user. Commit dc77de12
was a first step in this direction, but was not sufficient IMHO.

Signed-off-by: default avatarJean Delvare <jdelvare@suse.de>
Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent f6496479
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -35,7 +35,8 @@ static int radeon_atif_call(acpi_handle handle)

	/* Fail only if calling the method fails and ATIF is supported */
	if (ACPI_FAILURE(status) && status != AE_NOT_FOUND) {
		printk(KERN_DEBUG "failed to evaluate ATIF got %s\n", acpi_format_exception(status));
		DRM_DEBUG_DRIVER("failed to evaluate ATIF got %s\n",
				 acpi_format_exception(status));
		kfree(buffer.pointer);
		return 1;
	}