Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp397377pxb; Tue, 1 Feb 2022 02:14:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJx3vyT/wNJNzCqtQEICk/hrrGQxx7LBdKOKoWUQspqpnnuBztmhpSE6KTvHCiFc4NE5JYBv X-Received: by 2002:a17:902:e80b:: with SMTP id u11mr23742511plg.15.1643710492383; Tue, 01 Feb 2022 02:14:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643710492; cv=none; d=google.com; s=arc-20160816; b=QLn9XqfkvSalf7zX0lyIaAmKK+dZX7MKjK8JWbJ77MHVZmZXW3PEEKVPBzFdt6GAsN emYyAarbEvowrluqM6c9eOmg8CjuB+Jmx8nsrRc2FyOT/WVBGIXzhnFSgfOnr8sIu5hI w3y676X8y6JNF2HH/S8T7AlOQxVWsOALjTwA+rwQdRfrUiHrLN0KjgaO3D9gZ4UVUopf eToSzLetViud8UK7C9tAwJ3KPYeeQKyRdnfqyyvRKRngAeUr8Rr4QFixeZk78vJDlIEE NSqSRVuynYVaA9eQqpAcscNf0SQD83sfbpoZ9693+QkP2KwTuvBCahhlQzxNya9CjB2U hNMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=8d1Kpwl6idQ9WjnXMFTycktUGazkaJseEmYS+1rMiKM=; b=qUncoRBvaG3V6zo3m8c2C0A8UmUVkHjU32YxawfMi2l3BzkuP+kRzrrD7lbneu7Cd5 shsVqPhicDui3dxwDZXddt2Lo4p0HJ1+xtiiT0tpizlxOeu22c6dG7NYAl0Uulcqoq6Z GrnAhswft5R7U4Q5AaHB4hhpPK5VGMVukrUwqLNqLMNMWfKeSuiRRxAbZNyWF7irHFNE Gos0qQEJgXZJyyFVNIswAptKj5Qd4h6ubOylIz4KV+3hDnV28Hp42c31MAkYfGIJ3dM3 wl56GcikjdHcPIgk7uMi9t2i2k1xA9bTCbEvmGpI4WqjCFWQ/oBlYg7oRAhi2U6Q2XtA KCxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@aruba.it header.s=a1 header.b=MdHy7msi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c5si15925464plg.443.2022.02.01.02.14.40; Tue, 01 Feb 2022 02:14:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@aruba.it header.s=a1 header.b=MdHy7msi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1354484AbiA3JmX (ORCPT + 99 others); Sun, 30 Jan 2022 04:42:23 -0500 Received: from smtpcmd04132.aruba.it ([62.149.158.132]:56014 "EHLO smtpcmd04132.aruba.it" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1354470AbiA3JmV (ORCPT ); Sun, 30 Jan 2022 04:42:21 -0500 X-Greylist: delayed 420 seconds by postgrey-1.27 at vger.kernel.org; Sun, 30 Jan 2022 04:42:21 EST Received: from [192.168.1.56] ([79.0.204.227]) by Aruba Outgoing Smtp with ESMTPSA id E6cAnydGDkz4hE6cAn0wV7; Sun, 30 Jan 2022 10:35:19 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aruba.it; s=a1; t=1643535319; bh=hhZnv6BXvXufeDI+XGxA7TmJQGnAM+C/uW4OZufjX2c=; h=Subject:To:From:Date:MIME-Version:Content-Type; b=MdHy7msiX9mARobaYkjlMJsoCqbQy/cuReGtP/0lGxoi+WNwioYzzBWKRd0ZihA0C oPe7ccYGSOatg509kr55NpjQgfJxxcyRWO7VwWInIztDC0UBzHAZV2cg6EHiRGkqeW Z4m4iJYy9NLprA2x0JM565YRkFB2hdKAOV7/MCiJFKBAv7AdYfcMGcr4Xk3Q1nZ0h6 +Sa6mdppl6cSuAqJehxJhb3jBNJGW2+2z3DTB5wAqjn8EWSq4GIKjSSQXBa39cymNe UmQOtPr6AoARul9hiylfHRRR/99ucz4pDhwzxGOzV3HYd9w9YG/1W+zYd2fdK+7QFR /tG3+5SXRynrg== Subject: Re: [PATCH] pps: clients: gpio: Propagate return value from pps_gpio_probe To: Robert Hancock , "andriy.shevchenko@linux.intel.com" Cc: "akpm@linux-foundation.org" , "linux-kernel@vger.kernel.org" , "gregkh@linuxfoundation.org" , "rasm@fe.up.pt" , "jamesnuss@nanometrics.ca" References: <20220112205214.2060954-1-robert.hancock@calian.com> From: Rodolfo Giometti Message-ID: <5178d655-a9f0-0a0e-866c-b85b7eda69f3@enneenne.com> Date: Sun, 30 Jan 2022 10:35:17 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfMnxiDWInmmct3TJnCv5fB9dfFM2JarlYCsQDqVYRt1ctIfzVSERRwgIcxtlGIWhRQKfRIHzl/C+GVX2XJejJpAjnyn2hIx/5lEIl394iJJ5lOH/qHLS uNDf6+lY/jb+9fB7g8GB1OyjP3HsnFXy6jAkUfpqxXfZvMqyDWZokwXE1TGK5ONprCfCsgz3kxuZt51gNg/SDgsqcNwQZQLuJseVOHnB3m4x9y/hML1JNI80 HNRcXwhqI1mMoyfAGMaIgvE3zv5IxM3buQcAOlRvxb2B30pw2w4wTNnYEVVeN3D07bYCdUBoMfbcHR71JGIVJdtOoMjgMUEMSZ6Fq5n9PT3ohAKbCM0qWwfW 4PTWaJlzaaYG4yleDHudoubW0x2DOQxjkTX6PjuaWLtJwCsXzHzZnpvUJ4iKXtj83Xbk+b74 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 29/01/22 23:02, Robert Hancock wrote: > On Thu, 2022-01-13 at 09:17 +0100, Rodolfo Giometti wrote: >> On 12/01/22 22:07, Andy Shevchenko wrote: >>> On Wed, Jan 12, 2022 at 02:52:14PM -0600, Robert Hancock wrote: >>>> If the pps-gpio driver was probed prior to the GPIO device it uses, the >>>> devm_gpiod_get call returned an -EPROBE_DEFER error, but pps_gpio_probe >>>> replaced that error code with -EINVAL, causing the pps-gpio probe to >>>> fail and not be retried later. Propagate the error return value so that >>>> deferred probe works properly. >>> >>> FWIW, >>> Reviewed-by: Andy Shevchenko >> >> Acked-by: Rodolfo Giometti > > It's not entirely clear to me what tree PPS patches are supposed to go through. > Seems like some recent ones have gone through char-misc? Not sure if someone > has this in their queue? LinuxPPS has no its own tree. All related patches usually are sent to me to be acked and to Greg Kroah-Hartman for inclusion. Ciao, Rodolfo -- GNU/Linux Solutions e-mail: giometti@enneenne.com Linux Device Driver giometti@linux.it Embedded Systems phone: +39 349 2432127 UNIX programming skype: rodolfo.giometti