From patchwork Tue Oct 23 21:59:55 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Deucher X-Patchwork-Id: 1635081 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by patchwork2.kernel.org (Postfix) with ESMTP id 2BB9EDF283 for ; Tue, 23 Oct 2012 22:00:35 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id ED9BAA01DC for ; Tue, 23 Oct 2012 15:00:34 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-vc0-f177.google.com (mail-vc0-f177.google.com [209.85.220.177]) by gabe.freedesktop.org (Postfix) with ESMTP id 368289E889 for ; Tue, 23 Oct 2012 15:00:04 -0700 (PDT) Received: by mail-vc0-f177.google.com with SMTP id p16so4776073vcq.36 for ; Tue, 23 Oct 2012 15:00:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer; bh=AEm3ffKxU3aWdvSqUQTWHsKgy8xaHR79/XL0c8f9/3I=; b=G+VYu4NV9YRVtXFTvpHHCh9IAjXQ8kZ7sjLAyxG5PJiFsQqjral1OmKeJPocjhzMCP 9ffbHL94l4bnTyCcyqM9X+T5q9pkyeAfnJQfn3jGMPiYznjcu6SWy6Urv5w6biz51RAz JDfJ6RFd7u4bVmlFze4eQFhsPGpbCKaJaq3PKjiaG7mf3m41MIKhMZc2JNyuOt7kckdF 3/lD6q/jwpGQOMnk5BiceZnDTSFW4eP8DdLwK7Wjr39u/0RKc+hnRjJDsPR/qC8p30aZ nw+As+Q4booUz1bTkeUFUH+lkdr2RGDkMjGgbaH6lFW1+qp3W7Lig8RbyFdyP8H+/25n 0trA== Received: by 10.52.92.229 with SMTP id cp5mr6527494vdb.14.1351029603155; Tue, 23 Oct 2012 15:00:03 -0700 (PDT) Received: from localhost.localdomain (static-74-96-105-49.washdc.fios.verizon.net. [74.96.105.49]) by mx.google.com with ESMTPS id qj8sm13590834veb.2.2012.10.23.15.00.01 (version=SSLv3 cipher=OTHER); Tue, 23 Oct 2012 15:00:02 -0700 (PDT) From: alexdeucher@gmail.com To: airlied@gmail.com, dri-devel@lists.freedesktop.org Subject: [PATCH] drm/radeon: fix ATPX regression in acpi rework Date: Tue, 23 Oct 2012 17:59:55 -0400 Message-Id: <1351029595-19191-1-git-send-email-alexdeucher@gmail.com> X-Mailer: git-send-email 1.7.7.5 Cc: Alex Deucher X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org Errors-To: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org From: Alex Deucher Copy and paste typo in the apci rework. Fixes: https://bugzilla.kernel.org/show_bug.cgi?id=49351 Signed-off-by: Alex Deucher Reviewed-by: Jerome Glisse --- drivers/gpu/drm/radeon/radeon_atpx_handler.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_atpx_handler.c b/drivers/gpu/drm/radeon/radeon_atpx_handler.c index 5c5e5bb..37f6a90 100644 --- a/drivers/gpu/drm/radeon/radeon_atpx_handler.c +++ b/drivers/gpu/drm/radeon/radeon_atpx_handler.c @@ -87,7 +87,7 @@ static union acpi_object *radeon_atpx_call(acpi_handle handle, int function, atpx_arg_elements[1].integer.value = 0; } - status = acpi_evaluate_object(handle, "ATPX", &atpx_arg, &buffer); + status = acpi_evaluate_object(handle, NULL, &atpx_arg, &buffer); /* Fail only if calling the method fails and ATPX is supported */ if (ACPI_FAILURE(status) && status != AE_NOT_FOUND) {