Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp165042ybi; Fri, 26 Jul 2019 07:47:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqxKRfQM8MrhDWkO3H0rUWy1WpaycMaeEwR2aoVCnWOzmX7K23hBDHgxJzwXJcmgXB1GkLgC X-Received: by 2002:a17:902:9a42:: with SMTP id x2mr97745404plv.106.1564152463615; Fri, 26 Jul 2019 07:47:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564152463; cv=none; d=google.com; s=arc-20160816; b=pSkDlnqYCvVi+GdDVxvOA4H+itvXwED0gjb0itXuC39rjs/leoAr9kJnexX1HYdtbL BWC13gQP7yclNo25bkBbktfDSYONujMkz6Pua444V5FDmgy6wb2KtbBA9a72I0Sccm06 35EGkDzvgirqmwd6ApRmp5OMnxBcCavLSBs3pHP+TJ+5SgxjRApFaQniHBK7Zx7/HECH KxmTSp1v0M+ra+m2U6sxbS9QZXBsEzwNA4vUDqWQAobhQBrv5i/3tUuuOPYZkROeQxMy rtlnxzlGaNqU4XegqLdpgmiCyHY474D4dHolHpr0tgyChgMZM/rZ9PMso+r0X3oov82f GseA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=ngavBtIxx1ZHHLm1jYRPvkhoDxTlTbQTiXBro1aKL/s=; b=xBP1ieLs7+zv0P75ReMTfOTJSztkKJ4HSu7ONMPxQsbyJcYYlgJrzp2sITflmoI3GE JC6zv9i/agNlWsYmVzUS/GYzRv6iKEVh1TU0T8Jo39BVkQJzVTZKWlH7oE4Sp1FJFQ4k AZsZ3tZEMSPrelyZXEAqYGRCDOxtA9IBxvB/VwWYYW7GegUOz3BdP4ko9vXfxwwSK+yc Gffxa+ROjdJ9xYk9fuJ4fdHq6Rkl4RamLibyEhoCStKIr821ZEYkvhNcDyU50du4bnVK sef01qC1nw6eUj3XJA/oS4+BRQYcBptVpywfhR6MoTZr1LI+VVTXkPT07frs6bi1oCnz Cqqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=PxfsFPU8; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j6si23407463pgb.206.2019.07.26.07.47.27; Fri, 26 Jul 2019 07:47:43 -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=@gmail.com header.s=20161025 header.b=PxfsFPU8; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727996AbfGZOqU (ORCPT + 99 others); Fri, 26 Jul 2019 10:46:20 -0400 Received: from mail-lj1-f196.google.com ([209.85.208.196]:44263 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727317AbfGZOqT (ORCPT ); Fri, 26 Jul 2019 10:46:19 -0400 Received: by mail-lj1-f196.google.com with SMTP id k18so51714431ljc.11; Fri, 26 Jul 2019 07:46:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=ngavBtIxx1ZHHLm1jYRPvkhoDxTlTbQTiXBro1aKL/s=; b=PxfsFPU8+IUqWCWe+i72ZKO9kQh18DVzKU2MLFKKOUpu5zex1eZBUZVZ+AhQ61nVY4 SK/9FEv8qOzyrSKLURXLa4fZn5XC84S4KSZn59mfqvGCTaTfzEc0knttSfT8VuoL4pT1 nklzDsJ0jGn+ZdIn3FLHFxswbaaWyxaM3LgrREUYhhHUhqyRBuolf6eNYIGKYOGbIyO0 EnxIoiToxgUEjTG7UkwOXT7MKntPT4NLWiXfxzsxBDxLLICGnwKApbyvYBCXZV93F6KT WSy7yWZBIML9Y9AhYqW7VG19j8Hvv7uIg1uNS/Mjnvx60aZcdxY+cM9RbUTD8bMH+d5g HoGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=ngavBtIxx1ZHHLm1jYRPvkhoDxTlTbQTiXBro1aKL/s=; b=T2TROr8krykIGUTBifE5AYuzCMxdNboZmAia2Nn31vxX+fRh1mvClxC18TQ1LzkitP I3KR+tFnxmRdCmiQM1CR3SckKF6wpmvuo3yYKY4Z8EUEX+uxg6p+tzGds/23x3unwykh zWQYd2yBlAs/ZCBNQkAO7xXrRn9gK5etJGnxB6l2zsoaWbeX3vdlP8WAmeiTXYsPpuHd wQTnTrSt2y43ywWQfu39gZ/QXfwGLw/UiC9bBkI08j+1zlvE2NfVU/tyJOZ+OcCkYLrs 1Q9YmMNESCQDAD5a54RYwlJCmfCcZa0Qnqf7KwFHDGabQ0wA1CHqPob6tzR53PBCv7gF ZLaA== X-Gm-Message-State: APjAAAVgzd9AFBbiE78kdLq3HJ+bUdtCLT0zqctGL1+d3Brwe6uV67MN BIywteuVHl2pHr/kNIZDmzmlub0W X-Received: by 2002:a05:651c:95:: with SMTP id 21mr50209286ljq.128.1564152377358; Fri, 26 Jul 2019 07:46:17 -0700 (PDT) Received: from [192.168.2.145] (ppp91-78-220-99.pppoe.mtu-net.ru. [91.78.220.99]) by smtp.googlemail.com with ESMTPSA id h10sm8515352lfp.33.2019.07.26.07.46.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 26 Jul 2019 07:46:16 -0700 (PDT) Subject: Re: [PATCH] drm/tegra: return with probe defer if GPIO subsystem is not ready To: Stefan Agner , thierry.reding@gmail.com Cc: airlied@linux.ie, jonathanh@nvidia.com, dri-devel@lists.freedesktop.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org References: <20180726133606.14587-1-stefan@agner.ch> From: Dmitry Osipenko Message-ID: Date: Fri, 26 Jul 2019 17:46:14 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 26.07.2019 17:23, Stefan Agner пишет: > Hi Thierry, Hi Dave, > > On 2018-09-07 01:31, Stefan Agner wrote: >> On 26.07.2018 06:36, Stefan Agner wrote: >>> If the GPIO subsystem is not ready make sure to return -EPROBE_DEFER >>> instead of silently continuing without HPD. >>> >>> Reported-by: Marcel Ziswiler >>> Signed-off-by: Stefan Agner >> >> I think this did not get merged yet, any chance to get it in? > > Any chance to get this in in the next merge window? The patch isn't relevant anymore (since v5.3) because the code was changed and now propagates the proper error code in a case of error, please see [1]. [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=v5.3-rc1&id=bbad640709fd43ff77b8838c409c977c0b28430c