From patchwork Thu Nov 29 06:28:06 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "lan,Tianyu" X-Patchwork-Id: 1820311 Return-Path: X-Original-To: patchwork-linux-pm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 516843FC54 for ; Thu, 29 Nov 2012 06:33:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751100Ab2K2Gd3 (ORCPT ); Thu, 29 Nov 2012 01:33:29 -0500 Received: from mga09.intel.com ([134.134.136.24]:25738 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751009Ab2K2Gd3 (ORCPT ); Thu, 29 Nov 2012 01:33:29 -0500 Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP; 28 Nov 2012 22:32:44 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.84,182,1355126400"; d="scan'208";a="248973016" Received: from lantianyu-ws.sh.intel.com (HELO localhost) ([10.239.13.8]) by orsmga002.jf.intel.com with ESMTP; 28 Nov 2012 22:33:25 -0800 From: Lan Tianyu To: rjw@sisk.pl, lenb@kernel.org Cc: Lan Tianyu , linux-pm@vger.kernel.org, linux-acpi@vger.kernel.org, Subject: [FIX PATCH v2] acpi/video_detect: Add "Asus UL30VT" to acpi video detect blacklist Date: Thu, 29 Nov 2012 14:28:06 +0800 Message-Id: <1354170486-28710-1-git-send-email-tianyu.lan@intel.com> X-Mailer: git-send-email 1.7.9.5 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org The ACPI video driver can't control backlight correctly on Asus UL30VT. Vender driver(asus-laptop) can work. This patch is to add "Asus UL30VT" to acpi video detect blacklist in order to use vender driver for video control on the "Asus UL30VT" rather than ACPI video driver. https://bugzilla.kernel.org/show_bug.cgi?id=32592 Reported-by: Alex Williamson Cc: Signed-off-by: Lan Tianyu --- Change since v1: fix a typo in the changelog. add Cc stable and reporter. --- drivers/acpi/video_detect.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/drivers/acpi/video_detect.c b/drivers/acpi/video_detect.c index b728880..4ac2593 100644 --- a/drivers/acpi/video_detect.c +++ b/drivers/acpi/video_detect.c @@ -156,6 +156,14 @@ static struct dmi_system_id video_detect_dmi_table[] = { DMI_MATCH(DMI_BOARD_NAME, "X360"), }, }, + { + .callback = video_detect_force_vendor, + .ident = "Asus UL30VT", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK Computer Inc."), + DMI_MATCH(DMI_PRODUCT_NAME, "UL30VT"), + }, + }, { }, };