Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp386899ybi; Fri, 26 Jul 2019 11:24:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqw6b0OTzzLURXx+visVt2UcD7NWtMTa/Bm0RV+lown6LkABvvzXAjuSGuBxxYL4yYQMUGst X-Received: by 2002:a17:902:110b:: with SMTP id d11mr101928099pla.213.1564165484542; Fri, 26 Jul 2019 11:24:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564165484; cv=none; d=google.com; s=arc-20160816; b=R3x5zLTBAquG/MUoT6D37oRceL8H1VfTRHGMuUvcFvGdFzWaO0+jjh3S+6aU4EVImn FtGKRrl4AvIJklRjptoscQJDFLEPUmbRf5GexqIORsiQ1VFqeXMmlMeCoK1s73PRYGk5 MSokfgMt+ZWH+038U/UCqeaxBw8pV6dXk0BtmTqBZupiUBXAXlSo+selJ/V1Hulhkle3 rRmhxZvByXcu1q8VtUb/7APWfLbqxgEY/NeoTWE/LIAawCG9JfIz96CB0ayysWTs6Uj3 w0pFOM0OuYUlTuP4uPlhVWo1DIUafi7IkS05PjQ8N8vlLeAo1gSn8bjk14dvY9yXm5Z+ JxXw== 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=UzwsdEpQP2Y4hgncO9eMUg7V4ByKsDvR7x0L9gt2XHw=; b=fseIXG4rRfRU8BO1C4ctiPYfPBrZczQ5Uof4+CBvn9B6XxP2+WBrGXuiasoFuEpT+M qaf/WxygWmmbRBzRXlBCdZMYjRmqr0g8CG/1z8WfmpCUzU5JY/qHogMOXXqWTOehFtI8 bXJ/jok6xFG9CQA0T1LacjSw0kh64Lt9C8EnBriwVP8Uc03TZQistvpd/8os0laP4Dc6 cEUsZ04TG+9sSo+fi7xgm8jtIpJLqW9g7ymjV6gEU0bcm0d+On9cE54aT0bAaglQ43Ne Czw5Ojo82CsL9Yuif9yuQGpVd44nA1Ynu5SE27w4KQ+lhCVgTmrIaAJMeyE3c5xkyXix 3PCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ay33YbtJ; 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 h16si14684691pgl.318.2019.07.26.11.24.29; Fri, 26 Jul 2019 11:24:44 -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=ay33YbtJ; 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 S2387637AbfGZPAw (ORCPT + 99 others); Fri, 26 Jul 2019 11:00:52 -0400 Received: from mail-lj1-f193.google.com ([209.85.208.193]:38805 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727222AbfGZPAv (ORCPT ); Fri, 26 Jul 2019 11:00:51 -0400 Received: by mail-lj1-f193.google.com with SMTP id r9so51772624ljg.5; Fri, 26 Jul 2019 08:00:50 -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=UzwsdEpQP2Y4hgncO9eMUg7V4ByKsDvR7x0L9gt2XHw=; b=ay33YbtJZ+OTKtoUZC8QPAj1U+YbwlUXIutsts+q0e3pxzFOzhdh8xZ1RG066hSNPR iL2LEndafJqpl0VFzh7wCBadhUi7tGmgZuzawYuxjN6mugE2DQmvf/amL8dBPkkGhSve XgsCGXvmA72ISx3do72TtxQZ1BEWZhbOQb9zvWoMouiExBpJaH0XCTgelU13UOJT0X5z XLMqqQ8oQLwGi1HoXDy3tkW/FgslFxEJlcZoGgfAIDPYj1OBr+SUyDXxPod70MPjVlSJ F6MkEVpg9dmtVSPoVUIqFhMQCxWSHRWqYgwP4nt3TTcTytwBJMwAfsS0afBcaFBMDsPU LG7g== 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=UzwsdEpQP2Y4hgncO9eMUg7V4ByKsDvR7x0L9gt2XHw=; b=ppmdYXmgN9J7KepVIcCTl70tIXLjfMRyTp4GIAT4VK2yiH5sTEcN8uwq7uSAclGE1H mLnDJXC3woI0i7Rl9rck3QID2aBO+1zB79oV9faDtqv1UCiHG77sqWcH25Ez8YWyKN3U 5+W7tgv9j66MrmwofhN4zfDpDpVqttdI03zdlswzeLHGn7Tv5aehuy5WzR00WF+L+4PM mPu+4QzZueSjqjXwo+B7abOpYedSVcFix2jzAKvfSrI9hwRxl9Roq7rZzNwizptijShq 8NSMwycA8wkY5Aw+09PuenAhonQw6eyQSOxe7ltGhhyLrrZiozMC+Srsvr0LzQnkB+3I yAdA== X-Gm-Message-State: APjAAAVI+0CKhu+6JaeZD3wofoeiUTRkqmIIKR/jiY08o+H6yTqPRGRS 5hp1XgeW9996TsPsCzxgSptmawVy X-Received: by 2002:a2e:900c:: with SMTP id h12mr47509855ljg.197.1564153249440; Fri, 26 Jul 2019 08:00:49 -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 m4sm10128649ljc.56.2019.07.26.08.00.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 26 Jul 2019 08:00:48 -0700 (PDT) Subject: Re: [PATCH] drm/tegra: return with probe defer if GPIO subsystem is not ready To: Stefan Agner Cc: thierry.reding@gmail.com, 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: <72141479-4ee8-d151-90dc-168e5c9a79c2@gmail.com> Date: Fri, 26 Jul 2019 18:00:47 +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:57, Stefan Agner пишет: > On 2019-07-26 16:46, Dmitry Osipenko wrote: >> 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 > > Oh I see, I accidentally checked in Linux 5.2. Sorry for the noise and > thanks for the link! No problems, you're welcome.