From patchwork Mon Apr 9 17:42:35 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ondrej Zary X-Patchwork-Id: 10331871 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 08BD36020F for ; Mon, 9 Apr 2018 17:42:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F034328AAA for ; Mon, 9 Apr 2018 17:42:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E4EE628BA3; Mon, 9 Apr 2018 17:42:52 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AD2E428BD7 for ; Mon, 9 Apr 2018 17:42:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751742AbeDIRmu (ORCPT ); Mon, 9 Apr 2018 13:42:50 -0400 Received: from smtp-1b.atlantis.sk ([80.94.52.26]:42151 "EHLO smtp-1b.atlantis.sk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751653AbeDIRmu (ORCPT ); Mon, 9 Apr 2018 13:42:50 -0400 Received: from gsql.ggedos.sk (off-7.infotel.telecom.sk [212.5.213.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp-1b.atlantis.sk (Postfix) with ESMTPSA id E83418160E74; Mon, 9 Apr 2018 19:42:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=rainbow-software.org; s=atlsmtp; t=1523295767; bh=3Z6/ZiOzzr7L4VsKe5Yr+MFse0Rbujf60UALhTKxmm4=; h=From:To:Cc:Subject:Date; b=IRQT6A9gLGzJcQgCh1kVRcanGxxt7I/1JQhtnC+QXzYXDJlTF5pVTT8Crw9h8bLwv Qw3PLcVeFeu7rR+QEZfuEuW/WH1+7FENcRfWWhBl9QQKHd8O80knqnXU7tFdhcYyrv 9WQpzCpTCiGpW09VHkQuORo7Lrcf41fRzoRzNNiE= From: Ondrej Zary To: Dmitry Torokhov Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] Input: i8042 - Never reset on Sony VAIO VGN-CS series Date: Mon, 9 Apr 2018 19:42:35 +0200 Message-Id: <20180409174235.28223-1-linux@rainbow-software.org> X-Mailer: git-send-email 2.11.0 Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Resetting i8042 breaks MUX on Sony VAIO VGN-CS. Never reset i8042 on these machines to fix MUX after suspend. Signed-off-by: Ondrej Zary --- drivers/input/serio/i8042-x86ia64io.h | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/drivers/input/serio/i8042-x86ia64io.h b/drivers/input/serio/i8042-x86ia64io.h index 56644c74828c..34793e8bf636 100644 --- a/drivers/input/serio/i8042-x86ia64io.h +++ b/drivers/input/serio/i8042-x86ia64io.h @@ -544,16 +544,23 @@ static const struct dmi_system_id __initconst i8042_dmi_forcemux_table[] = { { } }; -/* - * On some Asus laptops, just running self tests cause problems. - */ static const struct dmi_system_id i8042_dmi_noselftest_table[] = { { + /* + * On some Asus laptops, just running self tests cause problems. + */ .matches = { DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."), DMI_MATCH(DMI_CHASSIS_TYPE, "10"), /* Notebook */ }, }, + { + /* reset breaks MUX on Sony Vaio VGN-CS series */ + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Sony Corporation"), + DMI_MATCH(DMI_PRODUCT_NAME, "VGN-CS"), + }, + }, { } }; static const struct dmi_system_id __initconst i8042_dmi_reset_table[] = {