From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Rosin Subject: Re: [PATCH 3/3] pinctrl: sx150x: add a static gpio/pinctrl pin range mapping Date: Thu, 18 Jan 2018 09:19:16 +0100 Message-ID: <292ad461-1976-84dc-6f08-92bb643bbfd3@axentia.se> References: <20180117133423.4482-1-peda@axentia.se> <20180117133423.4482-4-peda@axentia.se> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: Received: from mail-ve1eur01on0128.outbound.protection.outlook.com ([104.47.1.128]:14282 "EHLO EUR01-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752659AbeARITX (ORCPT ); Thu, 18 Jan 2018 03:19:23 -0500 In-Reply-To: Content-Language: en-US Sender: linux-gpio-owner@vger.kernel.org List-Id: linux-gpio@vger.kernel.org To: Linus Walleij Cc: "linux-kernel@vger.kernel.org" , Andrew Jeffery , Charles Keepax , linux-gpio@vger.kernel.org On 2018-01-18 08:58, Linus Walleij wrote: > On Wed, Jan 17, 2018 at 2:34 PM, Peter Rosin wrote: > >> Without such a range, gpiolib fails with -EPROBE_DEFER, pending the >> addition of the range. So, without a range, gpiolib will keep >> deferring indefinitely. >> >> Fixes: e10f72bf4b3e ("gpio: gpiolib: Generalise state persistence beyond sleep") >> Suggested-by: Linus Walleij >> Signed-off-by: Peter Rosin > > Added the other Fixes: tag as well, add Cc: stable and applied. > > It will go in for the merge window as it is now, unless Torvalds > decide to do an -rc9 in which case I will consider sending it as > a separate fix next week. I didn't (yet?) receive any notification about patch 2/3 and thought I'd test what would happen without it, and results are not good. I get: gpio gpiochip5: (sx1502q): could not create pin range So, I guess if 3/3 is going to stable, all three patches should go there. Cheers, Peter