Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp919606yba; Wed, 24 Apr 2019 11:46:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqz3B+niMPnMeXEiNUYiuNlnvpxaGRCck6e6YgYdS6PP9/g4YAGUIRwxfCqE+YcGpXTsp1zS X-Received: by 2002:a63:6e01:: with SMTP id j1mr32449360pgc.442.1556131616179; Wed, 24 Apr 2019 11:46:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556131616; cv=none; d=google.com; s=arc-20160816; b=BVieR3fxLk1FoJJt5QpnUGsU+hVUo9hlwQz0ZOySn66iGQFmlDo6qxogsiNidrPz9O /6f5Nsga4tdgI83tkYKTBVp/eRnxP0rsW/nVUMMG4V9dc2XnLRknekxjYSBWMHyJgiCz Ftrh0YBR3juh5oahMuS7JpUSNDZLV57e1KdVe9/AbHX0t4D8Snt9ijHARfX4Xr5EhJYd Mm2KuLIKHNT9Jpz5gIjyyvc6IJna4vTLgCZeemKfkTspsjIkrj9KpvMrc/2Xeu9qTyyy jsL3U/2jO+TICnVTb485j4+VtXu/BHL23hLXtbFwxc2Rfx1ibIyMh6AaOZ0jkzpaWKvQ +4yg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=XB2ByXEjwu+GeuD00siTHlVt4/gX8OkARg2NzSsJ9e8=; b=ZQTg5T3T/MKe35NHe6uuNcQf+qmj69Sy0vIMKt/AB6GhtT8aX3C6LIcP4441axYE8T Qvy6NYV4B0bpX6vskaG951pmRJzavmvxg6OTZN9eUdfAzNLakgiOsNTS9oMrZddBqyOi dSmx/B5OhDByZRg31Gd79bPKf3mtoytVmhU7hzdL8rKFuyugVXxQxea8V6kR+0oaClbZ EoYy7WWWGZZnAw3ukKLh2JSmD1WY4B/EVTvPixTql7MNAKUh6J5MdF/A1Iw9od1tHV9q qB1CY5Ax55filIewNuZjgqzYxytLSHtuwiFly4+xmYio/OZ+mjXdqJuYt/yzcnuBW09E 15pQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qw6lxAXC; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l26si55793pgb.73.2019.04.24.11.46.41; Wed, 24 Apr 2019 11:46:56 -0700 (PDT) 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; dkim=pass header.i=@linaro.org header.s=google header.b=qw6lxAXC; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728745AbfDXKs1 (ORCPT + 99 others); Wed, 24 Apr 2019 06:48:27 -0400 Received: from mail-lf1-f65.google.com ([209.85.167.65]:32847 "EHLO mail-lf1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726831AbfDXKs0 (ORCPT ); Wed, 24 Apr 2019 06:48:26 -0400 Received: by mail-lf1-f65.google.com with SMTP id j11so14275426lfm.0 for ; Wed, 24 Apr 2019 03:48:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=XB2ByXEjwu+GeuD00siTHlVt4/gX8OkARg2NzSsJ9e8=; b=qw6lxAXC4j/1ABoK4XXSDz3VSTCYHB6gTiS/WPcca6amu2JJ6UU6HeWX9xTnNsZxu3 5j4gYaKYt7WRaiOZ4MUpkn6kv73M63oy5utU3FhJoTf05HiVMqrSyZjtFXmu4hPXRa4i Gfkjs9MELLJCFNCNPUIFCKqiE3LG/SB2lGygz61jfXP/K81Syb/+Sswri2xwGicMWB56 P0DLXgXj5leFt+9J1CGrwMrpaG3ia7mkE7ROeJJxKlYIo0NRx3YNZEE3T4GptgJ0nV1l Ktxm+6ZcYc6WaPoOUI2H2NLV8e+2Tb+QLR9UeMveXGDIPc24gSKhbtJENRePKHCsN6ME 5YFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=XB2ByXEjwu+GeuD00siTHlVt4/gX8OkARg2NzSsJ9e8=; b=r0bZsVdMqQpHS35nt6gvWdrHRRTjcjGe47PMlhJ8TKi0lbw6VIehvyymnJh3VMx7+D 7eJu+zsgZ9O289mdQca+OAp7NsPmwEe5XSvVx/vOpKq0exFSyuNfsVWH5w/jABTCjvYP 0W6QqyyZww9aNah02hkqsH/10S81vby5oqOcuzFmo/WJ4kfgZs07wf9rW2+3pL+J/xNm S5cmAh8rqqltsOlUOdSWHocDaTpEf5HPdJFwmVXdtOthSO0I/3YSvOufBaqQLSpGBIN2 1C6E8ZOVAoW+RiiN2c9fufmjgwzWkuUcSIPy0qSHzkctqoKPbmbZPmkyei1+1YQ7KpWu hntA== X-Gm-Message-State: APjAAAVunEznHoDloQo6Ch7etfLdmYl9v4UXz2nwpbEMj/pFwB3Ewm2f Qn297Ussp18G/vIs4ovES7hmIzuD0gniOWOMgW8uaQ== X-Received: by 2002:ac2:5381:: with SMTP id g1mr16883585lfh.130.1556102904355; Wed, 24 Apr 2019 03:48:24 -0700 (PDT) MIME-Version: 1.0 References: <1556093324-1008-1-git-send-email-fabien.dessenne@st.com> In-Reply-To: <1556093324-1008-1-git-send-email-fabien.dessenne@st.com> From: Linus Walleij Date: Wed, 24 Apr 2019 12:48:12 +0200 Message-ID: Subject: Re: [PATCH] pinctrl: stm32: check irq controller availability at probe To: Fabien Dessenne Cc: Maxime Coquelin , Alexandre Torgue , Benjamin Gaignard , "open list:GPIO SUBSYSTEM" , linux-stm32@st-md-mailman.stormreply.com, Linux ARM , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 24, 2019 at 10:09 AM Fabien Dessenne wrote: > It is not guaranteed that the IRQ controller driver is probed before > the pin controller driver gets probed. > Considering this, check for the irq domain availability during probe > and return EPROBE_DEFER if needed. > > Signed-off-by: Fabien Dessenne Patch applied with Alexandre's ACK! Yours, Linus Walleij