From patchwork Wed Nov 27 20:30:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg Kroah-Hartman X-Patchwork-Id: 180353 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp6692778ilf; Wed, 27 Nov 2019 13:46:19 -0800 (PST) X-Google-Smtp-Source: APXvYqzY5YZwLCJbPcdj8KHVgQHnm/7qbySNnq4M+OhKqZYNsZfuBk1FXr9qXrqepr6EyxHrZGKC X-Received: by 2002:a50:f299:: with SMTP id f25mr2694647edm.280.1574891179391; Wed, 27 Nov 2019 13:46:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574891179; cv=none; d=google.com; s=arc-20160816; b=tNfO+61VD8xb6DmPdcfICpLBxusFAxEIu6I2lgykKMXgBXGUBSicTbjr3cYeR1B3L+ yCfnwX5sxO3qNoysjOKHoSn8CMbSgDwpCRJnUuD2l8tqxm94JKoLdngfwtRmWAMSl56O KR6PnQsWi5RbIkngJvVcb5pnXbwYVErdiw9K6UpZTLnPSVzxAO7R5W+SiDR1SKX/Rsre Sn7/NukXIToB/+meEKuKf6Jk2yykUPpByKpKu/xhCPafswEOUpiEknPo5zT4P5ZC5W6f bqX6MvbmwEsTpu8AdHj/FZSsSvOUg34dIRfAbWMOgtykW7stI+h56uCs2En4PK+5IleX xaBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=jKxkRs6e0iXyoG4MOHMdyFONa9/hqxYk8xVYkrfVHnA=; b=VjqWpVC8R45Mn6jeQnDIUz8JYbvr/C2BcFO+7BlN4IIcpp9buJBpbXUNToKJzRdB5q nSlZV7v/t8/46nKeTHUGYEwC+/YDriZYlc91MkJ4X6+jeJOCeBS+Te4H8Uw4cjA5CvD3 rGW5BDSXZSVwt5d7umNoRUkldBrBhEmXZf+RkV06VaMLZaTDH+np+guc+bA0gJPWeYIw KlVxb5Tc0m2t4JMxYtQSxNHEVzc2uuNpE3/LQCEbNe3VGXJUA3dZI6+qP1mqIw4/dLNi bWnR97CVnaZfRuFPw3OJzpm4eVM28aLjgslkzCoJgkMU72hnvhWgy0U1QxENEKs/EO+C dSQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ge5uplF8; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n15si10421592ejr.94.2019.11.27.13.46.19; Wed, 27 Nov 2019 13:46:19 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ge5uplF8; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727718AbfK0VqS (ORCPT + 15 others); Wed, 27 Nov 2019 16:46:18 -0500 Received: from mail.kernel.org ([198.145.29.99]:34502 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727538AbfK0UeO (ORCPT ); Wed, 27 Nov 2019 15:34:14 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 73D7D207DD; Wed, 27 Nov 2019 20:34:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1574886853; bh=7ELU8Vu6+GPSxNfHPinOpipkeIGoboas9zgz5lzP99o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ge5uplF8zj8dD4hO+K+xABl7+6vdj5DPF1WFPWEdHNISm1CzE3EEgPYvz+mhjWgPF EP7YxnNieHAenISYM3rqVWXhOEj1p65tagYz8JRoKjHcnJrCbW47jY0dsxcfPN3eZX 3KMqNvtEtikx9COz/1bhgMg7KhUvD695HwC6YwpM= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Arnd Bergmann , Darren Hart , Sasha Levin Subject: [PATCH 4.4 019/132] platform/x86: asus-wmi: add SERIO_I8042 dependency Date: Wed, 27 Nov 2019 21:30:10 +0100 Message-Id: <20191127202916.307387184@linuxfoundation.org> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191127202857.270233486@linuxfoundation.org> References: <20191127202857.270233486@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Arnd Bergmann [ Upstream commit ea893695ec1131a5fed0523ff8094bc6e8723bbe ] A recent bugfix added a call to i8042_install_filter but did not add the dependency, leading to possible link errors: drivers/platform/built-in.o: In function `asus_nb_wmi_quirks': asus-nb-wmi.c:(.text+0x23af): undefined reference to `i8042_install_filter' This adds a dependency on SERIO_I8042||SERIO_I8042=n to indicate that we can build the driver when the i8042 driver is disabled, but it cannot be built-in when that is a loadable module. Fixes: b5643539b825 ("platform/x86: asus-wmi: Filter buggy scan codes on ASUS Q500A") Signed-off-by: Arnd Bergmann Signed-off-by: Darren Hart Signed-off-by: Sasha Levin --- drivers/platform/x86/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.20.1 diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig index 953974b5a9a95..6487453c68b59 100644 --- a/drivers/platform/x86/Kconfig +++ b/drivers/platform/x86/Kconfig @@ -566,6 +566,7 @@ config ASUS_WMI config ASUS_NB_WMI tristate "Asus Notebook WMI Driver" depends on ASUS_WMI + depends on SERIO_I8042 || SERIO_I8042 = n ---help--- This is a driver for newer Asus notebooks. It adds extra features like wireless radio and bluetooth control, leds, hotkeys, backlight...