From mboxrd@z Thu Jan 1 00:00:00 1970 From: AceLan Kao Subject: Re: [PATCH] pinctrl: intel: Only restore pins that are used by the driver Date: Tue, 11 Oct 2016 10:38:27 +0800 Message-ID: References: <20161010133931.88055-1-mika.westerberg@linux.intel.com> <0e3bf0b8c82d4c3ca6d753abfd1063bf@ausx13mpc124.AMER.DELL.COM> <20161010145346.GI30800@lahna.fi.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from mail-qk0-f179.google.com ([209.85.220.179]:34372 "EHLO mail-qk0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753083AbcJKCqt (ORCPT ); Mon, 10 Oct 2016 22:46:49 -0400 Received: by mail-qk0-f179.google.com with SMTP id f128so10913611qkb.1 for ; Mon, 10 Oct 2016 19:46:48 -0700 (PDT) In-Reply-To: Sender: linux-gpio-owner@vger.kernel.org List-Id: linux-gpio@vger.kernel.org To: Mika Westerberg Cc: Mario.Limonciello@dell.com, Linus Walleij , Heikki Krogerus , Calvin Johnson , Jared.Dominguez@dell.com, linux-gpio@vger.kernel.org Hi Mika, BTW, I failed to compile the kernel 4.4 with the patch. The patch uses gpiochip_line_is_irq() function which has been introduced since 4.6-rc1, so we need to cherry pick this commit, too. 6cee382 gpio/pinctrl: sunxi: stop poking around in private vars But the above commit uses gpiodev data member in struct gpio_chip which is introduced from this commit, and it's a big commit that can't be cherry-picked clearly. ff2b135 gpio: make the gpiochip a real device Will you provide other patch that can apply on top of old stable kernels? AceLan Kao. 2016-10-11 9:31 GMT+08:00 AceLan Kao : > Hi Mika, > > Yes, the patch works, the touchscreen continue working after lid close and open. > Thanks for your work. > > Best regards, > AceLan Kao. > > 2016-10-10 22:53 GMT+08:00 Mika Westerberg : >> On Mon, Oct 10, 2016 at 02:37:19PM +0000, Mario.Limonciello@dell.com wrote: >>> After positive comments in this working properly and is accepted, would you >>> consider submitting back to @stable as well? It affects all kernel versions >>> that carry intel pinctrl (IIRC back to 4.1?) >> >> Sure. >> >> LinusW, this should have stable tag starting from v4.1. Let me know if >> you want me to re-submit the patch.