Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2996416imu; Mon, 17 Dec 2018 11:18:36 -0800 (PST) X-Google-Smtp-Source: AFSGD/VHY/16A4FgepwzxaTBIa1u04Mz9YzyHH/KwGk/UOr/YhlesVX5yTBl4aUyfMOqLBXNbw/I X-Received: by 2002:a63:ef04:: with SMTP id u4mr13297142pgh.197.1545074316729; Mon, 17 Dec 2018 11:18:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545074316; cv=none; d=google.com; s=arc-20160816; b=ranT3dHzfd1C5B7SlXG/a2GNuobF6yx81JLCI9P4azUZlOo+EVwsBE3YjAZCeqmmiJ TjxUzexovv/rBEikgdKXlUXNJdOnub0gl7MSEqKuS/G2Lr8zpQM/PtIlZLpt/iZLviP2 qawuk1S12s35pY4l/HhpUl5dtbK5EeoaEGlaxKybJN4Px1R5lw6Z6LjGBl2l2I6i+lrI /u5GSivtwQdhwx3RUqil1qhMs3Rdcsg+BmJNDfnYBt6UrGA92DkP1PZOLtG3xsogFQPB eqhgwObwK9k+FBq+2wgiSVzohjUzqX4AfSFIRPVXRJUE8pYWmjy9XH7unN9iO/c48uzH ouyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=ZY4E9TH32QXr24hnc3VsshQox/AoDQ2/8HzPv4py874=; b=PrvjoRnrhyjH6UxXl/HSoq0WRtPVMMo0LZhugyZEY5ylxozbDcgg0tVpSqgJEC+PkX geo0baI3v+dy7BuN1k9aFcBODzPvGt2QXM97A5g2d/aLrNm48iTXSlt4z7vvj1iWVyqV y8NVddcgdw5PKdPuu8QB11tK20Z1yUPLQAaW3vmuNfnBIzt8nxtSHSE6YlBijzLIFxhv RV002+6ZFmF6Zg0hZVmp0P0Cc4jA3p80WDvyndq2JtEy0IIX9/4AVaikDlmTbXc2EKfw RjkGeH5of/8IZvGeHCyVEd3ZFT6ZG88Jx+TYxzMfKZh1Q2IVLk+O53nL2X9dzPdudKL5 h26A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 m78si4536476pfj.48.2018.12.17.11.18.21; Mon, 17 Dec 2018 11:18:36 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388135AbeLQQpn (ORCPT + 99 others); Mon, 17 Dec 2018 11:45:43 -0500 Received: from nbd.name ([46.4.11.11]:34360 "EHLO nbd.name" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387669AbeLQQpn (ORCPT ); Mon, 17 Dec 2018 11:45:43 -0500 Subject: Re: [PATCH] pinctrl: xway: fix gpio-hog related boot issues To: Linus Walleij , Martin Schiller Cc: "open list:GPIO SUBSYSTEM" , "linux-kernel@vger.kernel.org" References: <20181214074825.6976-1-ms@dev.tdt.de> From: John Crispin Message-ID: Date: Mon, 17 Dec 2018 17:45:40 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 17/12/2018 15:32, Linus Walleij wrote: > On Fri, Dec 14, 2018 at 8:48 AM Martin Schiller wrote: > >> This patch is based on commit a86caa9ba5d7 ("pinctrl: msm: fix gpio-hog >> related boot issues"). >> >> It fixes the issue that the gpio ranges needs to be defined before >> gpiochip_add(). >> >> Therefore, we also have to swap the order of registering the pinctrl >> driver and registering the gpio chip. >> >> You also have to add the "gpio-ranges" property to the pinctrl device >> node to get it finally working. >> >> Signed-off-by: Martin Schiller > Patch applied unless John Crispin has objections, it looks > good to me! > > Yours, > Linus Walleij sorry did not see the patch in my inbox Acked-by: John Crispin