From patchwork Thu Oct 16 18:02:18 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Lutomirski X-Patchwork-Id: 5093131 X-Patchwork-Delegate: tiwai@suse.de Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 7343F9F3ED for ; Thu, 16 Oct 2014 18:03:41 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9FCFF201F5 for ; Thu, 16 Oct 2014 18:03:39 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 5B59320114 for ; Thu, 16 Oct 2014 18:03:38 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 704C526513F; Thu, 16 Oct 2014 20:03:37 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id 649F92606FB; Thu, 16 Oct 2014 20:02:42 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 718E826062B; Thu, 16 Oct 2014 20:02:40 +0200 (CEST) Received: from mail-pd0-f178.google.com (mail-pd0-f178.google.com [209.85.192.178]) by alsa0.perex.cz (Postfix) with ESMTP id 21D6E2605E9 for ; Thu, 16 Oct 2014 20:02:34 +0200 (CEST) Received: by mail-pd0-f178.google.com with SMTP id y10so3648244pdj.37 for ; Thu, 16 Oct 2014 11:02:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=tsN3mgYqWOh/entleU00F76erNOdXbtMSRBsMNalOCI=; b=AkxtWuyHyw1EhEJ4d+WHKzgzoRt5rpyx38Vot1yHOYChk6EW8jIdMZ2epVdboGg3jW NZVtggCtEQizum2/ePReJAyyMxzXQaBUqwL80eO8zezYcb+rz08S5t9gFvfD6I7gR/HU dDSmzljeTok2SFTPF9uLuCSHPZOljadyKj54+z20bOO9/Uu4jR4QM1nJkzG+5xiJUyZb X235ONuHfnmV/EJAvmV9Y33FaBpsh7C3UeL5qkNOLyOMTVV7nQO3czYlv657H6ZEymx2 l7YLSJ2gJRSH/52J2oAvnZa2V4JL62KEUOfkgWscgIaNwsS7en0kjxjQtiGlreecWsis Sw0w== X-Gm-Message-State: ALoCoQkPsS23QMwcKsPR5Rd5UHvtKGOh8scF+7bSXgVhcPOGF7ceH/XiFzpvWyN+CQANocgW2Brs X-Received: by 10.68.212.5 with SMTP id ng5mr2943073pbc.15.1413482553715; Thu, 16 Oct 2014 11:02:33 -0700 (PDT) Received: from localhost ([2001:5a8:4:83c0:2876:faf2:b8dc:60f7]) by mx.google.com with ESMTPSA id ib8sm14172092pad.43.2014.10.16.11.02.31 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 16 Oct 2014 11:02:32 -0700 (PDT) From: Andy Lutomirski To: Henrique de Moraes Holschuh , Matthew Garrett , ibm-acpi-devel@lists.sourceforge.net Date: Thu, 16 Oct 2014 11:02:18 -0700 Message-Id: <69655aaf2db9f0d0c8b81d52f26f4ff8dac935b5.1413481880.git.luto@amacapital.net> X-Mailer: git-send-email 1.9.3 In-Reply-To: References: In-Reply-To: References: Cc: Len Brown , ALSA development , Takashi Iwai , Grant Diffey , platform-driver-x86@vger.kernel.org, Jerone Young , Andy Lutomirski , David Henningsson Subject: [alsa-devel] [PATCH 2/2] acpi: Remove _OSI(Linux) for ThinkPads X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP AFAICT the only reason to set _OSI(Linux) on ThinkPads is to get sensible mute button behavior. Now that the thinkpad_acpi driver can do this on is own, there is no reason to keep the ACPI quirk. Cc: Len Brown Cc: Jerone Young Signed-off-by: Andy Lutomirski --- drivers/acpi/blacklist.c | 54 ------------------------------------------------ 1 file changed, 54 deletions(-) diff --git a/drivers/acpi/blacklist.c b/drivers/acpi/blacklist.c index 36eb42e3b0bb..4a3cbb5d3c55 100644 --- a/drivers/acpi/blacklist.c +++ b/drivers/acpi/blacklist.c @@ -265,60 +265,6 @@ static struct dmi_system_id acpi_osi_dmi_table[] __initdata = { */ /* - * Lenovo has a mix of systems OSI(Linux) situations - * and thus we can not wildcard the vendor. - * - * _OSI(Linux) helps sound - * DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad R61"), - * DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad T61"), - * T400, T500 - * _OSI(Linux) has Linux specific hooks - * DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad X61"), - * _OSI(Linux) is a NOP: - * DMI_MATCH(DMI_PRODUCT_VERSION, "3000 N100"), - * DMI_MATCH(DMI_PRODUCT_VERSION, "LENOVO3000 V100"), - */ - { - .callback = dmi_enable_osi_linux, - .ident = "Lenovo ThinkPad R61", - .matches = { - DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"), - DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad R61"), - }, - }, - { - .callback = dmi_enable_osi_linux, - .ident = "Lenovo ThinkPad T61", - .matches = { - DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"), - DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad T61"), - }, - }, - { - .callback = dmi_enable_osi_linux, - .ident = "Lenovo ThinkPad X61", - .matches = { - DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"), - DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad X61"), - }, - }, - { - .callback = dmi_enable_osi_linux, - .ident = "Lenovo ThinkPad T400", - .matches = { - DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"), - DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad T400"), - }, - }, - { - .callback = dmi_enable_osi_linux, - .ident = "Lenovo ThinkPad T500", - .matches = { - DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"), - DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad T500"), - }, - }, - /* * Without this this EEEpc exports a non working WMI interface, with * this it exports a working "good old" eeepc_laptop interface, fixing * both brightness control, and rfkill not working.