From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756672AbdKOIIu (ORCPT ); Wed, 15 Nov 2017 03:08:50 -0500 Received: from mail-io0-f171.google.com ([209.85.223.171]:36329 "EHLO mail-io0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756589AbdKOIIh (ORCPT ); Wed, 15 Nov 2017 03:08:37 -0500 X-Google-Smtp-Source: AGs4zMbu+Oqdj6UFOgqLFq/DuQe/sIAs+Yx3Gj7VGSQ9MAQrSVgb+reYK1iay/MFWjQK+xzxU7IUOQ== Content-Type: text/plain; charset=cp936 Mime-Version: 1.0 (1.0) Subject: Re: [PATCH] pinctrl: intel: save HOSTSW_OWN register over suspend/resume From: Chris Chiu X-Mailer: iPhone Mail (15A432) In-Reply-To: <20171115080446.GY17200@lahna.fi.intel.com> Date: Wed, 15 Nov 2017 16:08:32 +0800 Cc: heikki.krogerus@linux.intel.com, linus.walleij@linaro.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, linux@endlessm.com Message-Id: <018180A5-B0D2-418E-9DBC-EF5F310F7295@endlessm.com> References: <20171114104136.25595-1-chiu@endlessm.com> <20171115080446.GY17200@lahna.fi.intel.com> To: Mika Westerberg Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by nfs id vAF88s8g021386 Hi Mika, Yes, that’s the most weird part. Chris 從我的 iPhone 傳送 > Mika Westerberg 於 2017年11月15日 下午4:04 寫道: > >> On Tue, Nov 14, 2017 at 06:41:36PM +0800, Chris Chiu wrote: >> The touchpad in the Asus laptop model X540NA is unresponsive >> after suspend/resume. The following error appears during resume: >> >> i2c_hid i2c-ELAN1200:00: failed to reset device. >> >> The problem here is that i2c_hid does not notice the interrupt >> being generated at this point. Because the GPIO which connects >> to touchpad interrupt is in ACPI mode after resume and no longer >> work as IRQ. > > Hmm, are you saying it is initially not in ACPI mode but after resume it > magically is?