From patchwork Thu Oct 16 18:33:05 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Lutomirski X-Patchwork-Id: 5093571 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 946639F30B for ; Thu, 16 Oct 2014 18:34:14 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C4A11201CD for ; Thu, 16 Oct 2014 18:34:13 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 9A1AC2016C for ; Thu, 16 Oct 2014 18:34:12 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 8CE602650BE; Thu, 16 Oct 2014 20:34:09 +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 BEF7B26506E; Thu, 16 Oct 2014 20:33:33 +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 38AEF26506E; Thu, 16 Oct 2014 20:33:25 +0200 (CEST) Received: from mail-pa0-f41.google.com (mail-pa0-f41.google.com [209.85.220.41]) by alsa0.perex.cz (Postfix) with ESMTP id B62942605FA for ; Thu, 16 Oct 2014 20:33:19 +0200 (CEST) Received: by mail-pa0-f41.google.com with SMTP id eu11so3932082pac.14 for ; Thu, 16 Oct 2014 11:33:18 -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=k/+k8iVIklH9hy6XZP3p5K7MhohjbQakS07fl6hspUwImBmjX8djQxBkDSQJqSXGD9 VqwupQPSComYOOfud7ef7SXwpeSmNcipljLfMxmDfuw/C3tPhf6KtJNrmMmskKdWAMai jnBrSwuYCGEOlBIug5seP6wVDTxp9yGL0BbK/E7JWg+lQcUBRA3Y9KX5BN4UwimRyInP Xglon21cp3VM5w/wtjk7eoZsI0Z3GMmVOtHTLdZLM0p4bSSM1mU35y0osQ8JqRaDP27I Rz1ZdGeEgaYvxse+76LygcuzcZRmQ9ngpPIHRsLdIRkEzvFDO+Su23PgSs6gICs5gk1f Xd2A== X-Gm-Message-State: ALoCoQnWGdgox1whnvNRpuY1EWUKTE2yUfPxrdJMx7aMada07ZuluK0+HyMZvPhv+8r3R7FU1V8o X-Received: by 10.68.65.78 with SMTP id v14mr3002065pbs.95.1413484398832; Thu, 16 Oct 2014 11:33:18 -0700 (PDT) Received: from localhost (173-228-29-24.dsl.static.fusionbroadband.com. [173.228.29.24]) by mx.google.com with ESMTPSA id nx6sm20553047pab.46.2014.10.16.11.33.16 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 16 Oct 2014 11:33:17 -0700 (PDT) From: Andy Lutomirski To: Henrique de Moraes Holschuh , Matthew Garrett , ibm-acpi-devel@lists.sourceforge.net Date: Thu, 16 Oct 2014 11:33:05 -0700 Message-Id: <2487c28e98dd8856414740809216680c9f070ac0.1413484274.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 v2 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.