From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 543AEC7618B for ; Fri, 26 Jul 2019 14:57:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 160D3218DA for ; Fri, 26 Jul 2019 14:57:10 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=agner.ch header.i=@agner.ch header.b="IF6peK+c" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728264AbfGZO5I (ORCPT ); Fri, 26 Jul 2019 10:57:08 -0400 Received: from mail.kmu-office.ch ([178.209.48.109]:55968 "EHLO mail.kmu-office.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727172AbfGZO5I (ORCPT ); Fri, 26 Jul 2019 10:57:08 -0400 Received: from webmail.kmu-office.ch (unknown [IPv6:2a02:418:6a02::a3]) by mail.kmu-office.ch (Postfix) with ESMTPSA id D6EE85C02B3; Fri, 26 Jul 2019 16:57:06 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=agner.ch; s=dkim; t=1564153026; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=FKw/2BALKQNgmImrcFcR8qt4PZbrmJFQiHxkm8oGnN0=; b=IF6peK+cmaLIt7j7RZ7TU9ze6nNP7kz+xzoXwfKhB8cYiMZCzvc6jsy/cQQvAM8pPKBVhm /PC5gP1r95Xmk0H433os/KLAO2si4zkauLP7EpHjCEWEqUcPkEIVqHm7bgGgtNHjDlDeAt uRiWb1fcfMmKA5gfsUDYuQNSK1BGLQA= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Date: Fri, 26 Jul 2019 16:57:05 +0200 From: Stefan Agner To: Dmitry Osipenko 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 Subject: Re: [PATCH] drm/tegra: return with probe defer if GPIO subsystem is not ready In-Reply-To: References: <20180726133606.14587-1-stefan@agner.ch> Message-ID: X-Sender: stefan@agner.ch User-Agent: Roundcube Webmail/1.3.9 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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! -- Stefan