Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3414805pxu; Mon, 30 Nov 2020 02:36:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJwL2Vv/3jWnw/QzcYsMzN3ZFpWnGesFZQQ0j+j0Zfh2YO+ayJzci81/0ZNwMhOSgkIGTc4I X-Received: by 2002:a17:906:b35a:: with SMTP id cd26mr20187228ejb.352.1606732612601; Mon, 30 Nov 2020 02:36:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606732612; cv=none; d=google.com; s=arc-20160816; b=EqoLxY75GgKme34HlbUp55yW287Ma7tMLrRQF94RRBduI7/0zwewDYgVm62CVQYZfw QEu2NdGFuhC1QU9MwY+nHnqbepA/rqxohZk+A8ryfG+9xN6caZp/xwSvJGP4g1wOZaS6 donMfyrIgqADjRz+M+bjc6Sf3wL+P/412ITAKose17sOvH1lyEi9Uh+Q7AGShiUb/puS jBF5i0db4q9HeGkxttpVAWWHbgIKwTpYt1rTk1MYVS6TPnZCZry2ZsiG2BDAS/+PBuw6 fFDpTprtdQDQmNx++L+IJWfEkHbcY6TM3/yoE8L0IsWqNLTKT+OoIWiOu4nqBA+w5Nrc /dZA== 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=yMgfSKwhsApyTXmZzBfg0ZsUT/F0myEgiyp5/ylYxt8=; b=LAeKVKsVexVKeTbAB8hygn/m1nbAMkO7ALY24gZJZsmy/1lQFMnuhmwgRcHRGqpzgi xz5eeMb3CQs6CLqu4Pa9VNAwMzPajtcKxx1kUuhlF4nn6bVne67ygLkUAONVeXrKW/dX jokgA2fWaJhGvX2OOGuSFdKLu88kazrJ1mXUQRaBQo0MGNoSjahhjFKqPIY4w3n5InVT O1gSv4Qfi4oHd8ObeGmQCjnSaAc+hAOWirV15RaV1yMWhFR2Fogq/yGhFeH39eDT8Qcm ThAlRz5X31j/yMQMk4j8oN64AEsbm6ODIdPXBQtZVuXKgK74leqP8y2MsvuLMa5QxO6z 5fEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=KMBVkjQS; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r22si10706215edy.534.2020.11.30.02.36.29; Mon, 30 Nov 2020 02:36: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=@ti.com header.s=ti-com-17Q1 header.b=KMBVkjQS; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728652AbgK3Ker (ORCPT + 99 others); Mon, 30 Nov 2020 05:34:47 -0500 Received: from fllv0015.ext.ti.com ([198.47.19.141]:33010 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728528AbgK3Ker (ORCPT ); Mon, 30 Nov 2020 05:34:47 -0500 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 0AUAX6PD033011; Mon, 30 Nov 2020 04:33:06 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1606732386; bh=yMgfSKwhsApyTXmZzBfg0ZsUT/F0myEgiyp5/ylYxt8=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=KMBVkjQSHs4tRl15XDSWtkAkjvl/aP5msjciPvs0AaGbM3Vc38Kndrr04kecGPVMF IfomIXvg4j6g5IpKXLPk6HeGqNlcebuKCFgdbpZJ94WPhJ6hYO53TAqABni7W8tLCE k3r896q+qXGY2rc/HGqwjPjWoYprMXQORc80kUjo= Received: from DLEE109.ent.ti.com (dlee109.ent.ti.com [157.170.170.41]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 0AUAX6sT086703 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 30 Nov 2020 04:33:06 -0600 Received: from DLEE100.ent.ti.com (157.170.170.30) by DLEE109.ent.ti.com (157.170.170.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Mon, 30 Nov 2020 04:33:06 -0600 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE100.ent.ti.com (157.170.170.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3 via Frontend Transport; Mon, 30 Nov 2020 04:33:06 -0600 Received: from [10.250.100.73] (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 0AUAX2OS015683; Mon, 30 Nov 2020 04:33:04 -0600 Subject: Re: [PATCH] gpio: omap: handle deferred probe with dev_err_probe() for gpiochip_add_data() To: Tony Lindgren CC: Linus Walleij , Bartosz Golaszewski , , , , Santosh Shilimkar References: <20201118143149.26067-1-grygorii.strashko@ti.com> <20201119091907.GH26857@atomide.com> From: Grygorii Strashko Message-ID: Date: Mon, 30 Nov 2020 12:33:02 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20201119091907.GH26857@atomide.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi All, On 19/11/2020 11:19, Tony Lindgren wrote: > * Grygorii Strashko [201118 14:33]: >> The gpiochip_add_data() may return -EPROBE_DEFER which is not handled >> properly by TI GPIO driver and causes unnecessary boot log messages. >> >> Hence, add proper deferred probe handling with new dev_err_probe() API. >> >> Signed-off-by: Grygorii Strashko > > Acked-by: Tony Lindgren > Are there any comments? Could it be merged? On am335 we no do see ~10 annoying error messages during boot as there now is dependency from pinctrl on this platform. -- Best regards, grygorii