From patchwork Sat Oct 18 00:04:30 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Lutomirski X-Patchwork-Id: 5099451 X-Patchwork-Delegate: tiwai@suse.de Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id D14A3C11AC for ; Sat, 18 Oct 2014 00:05:51 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id F2A212020E for ; Sat, 18 Oct 2014 00:05:50 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id B32652018E for ; Sat, 18 Oct 2014 00:05:49 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id BD5CD265451; Sat, 18 Oct 2014 02:05:48 +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 81D902604B3; Sat, 18 Oct 2014 02:04:49 +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 249F826048C; Sat, 18 Oct 2014 02:04:48 +0200 (CEST) Received: from mail-pa0-f51.google.com (mail-pa0-f51.google.com [209.85.220.51]) by alsa0.perex.cz (Postfix) with ESMTP id 7783826048C for ; Sat, 18 Oct 2014 02:04:42 +0200 (CEST) Received: by mail-pa0-f51.google.com with SMTP id lj1so1686627pab.24 for ; Fri, 17 Oct 2014 17:04:41 -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=K9ENtC8wxQzrpbaOz+Wx+VzffOohRGyOovW/vsaPtFyAwuLIXX7EU/twsSjEUE67w+ QRZIyyndFJX1pPxL4G/bhL/jAG04xFmksVLojRuCIQrTxoaA/fyggw/cMN/q7UwABf8B mk1tP0pqEe/ybgmRNCpxV9ub/fLhY1s+aWgNxdd39z1TcX3EKtkxClt3mEK3v+xlAiSL cC8azs+vIzp5pwVqCogKouWm4Lc/0lSSX+tBPFcKv8gfmfgNx0Z0INF8Jvj2+MaJ7nVT w7X4rSLgESqNWqtQWIivG01kvAHxRAZVXuZsPyyPmqR99ULzIxQQqqoy6ycIHDoRs539 hRjg== X-Gm-Message-State: ALoCoQkeMOWMMZnhbt+A5w7H6APvNEuC5XFg0Z6f+FGk+680RiqMuO48TOXnhpy3Hfm7Lr/eDhaL X-Received: by 10.70.54.227 with SMTP id m3mr11971137pdp.66.1413590681451; Fri, 17 Oct 2014 17:04:41 -0700 (PDT) Received: from localhost (173-228-29-24.dsl.static.fusionbroadband.com. [173.228.29.24]) by mx.google.com with ESMTPSA id xj9sm2549361pab.40.2014.10.17.17.04.39 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 17 Oct 2014 17:04:40 -0700 (PDT) From: Andy Lutomirski To: Henrique de Moraes Holschuh , Matthew Garrett , ibm-acpi-devel@lists.sourceforge.net Date: Fri, 17 Oct 2014 17:04:30 -0700 Message-Id: <72ea290629696d2fc750dc5950c2af0776ab133e.1413590510.git.luto@amacapital.net> X-Mailer: git-send-email 1.9.3 In-Reply-To: References: In-Reply-To: References: Cc: Len Brown , Grant Diffey , Takashi Iwai , ALSA development , platform-driver-x86@vger.kernel.org, Jerone Young , Andy Lutomirski , David Henningsson Subject: [alsa-devel] [PATCH v3 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 Acked-by: Henrique de Moraes Holschuh --- 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.