Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3146706imm; Sun, 29 Jul 2018 11:20:19 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfmtMqPsK4tIPpVNdryTBfd4aGFkY3eN/enGKu+JHGghkZVHjdad0VgGSyyXueykyKxvfQH X-Received: by 2002:a62:87ce:: with SMTP id i197-v6mr14892106pfe.62.1532888419799; Sun, 29 Jul 2018 11:20:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532888419; cv=none; d=google.com; s=arc-20160816; b=zZmymB0duIY5iUdrCnpKkHjaUG2bhVq8LLTcp7IyY5gaiXuMEafjbIFNLMO9kGktnj HrwxJ5iLGLh97NSnyqnSd6UlcWOw3i5UADFt6uC5irKcq1jxEDUCMO2CdFojuX5+VIFr S7ipxchjYV/p64AfhB1Xf0uW/dL84FOgW9CLJSdk6Ynk8gFqH71Mp763xQaZVyqJnU1e 4j0evGMmAMh6AFqfWBs24M4ftpiZaX+/mkiuvwnhRFfnoKfqn+AxD/fMCHgrY4xNReZ9 6he/QwVYtdD41Qn8eITjp5rBj9c5D5P4Bvh6IS95H/0TBz4tOAmA4S2/rdBrW+jSFsnn casw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version:arc-authentication-results; bh=ZD1+65kWSZe12XwkYnex1wAIThEkw8WsAIaf6UMgI6w=; b=ecj/erd4dN/joaWvIFAQ38c+LrEOhyVXuZk0rYXfSbqP0dYE9PF3fSANgVngRJ+AQx eDvXqhL6WDmYxmEzm952dLxC0Y9Q+2IMnTf/XasVdJZ1hzAVMnqHrVOc2TOHnwtMjYDK T2sGR/AUYxDG20eiqIN6sJi3T6SDFWxAMAs0TZAhCfVBMJ/G1cm1AqvVULMYRnozFQ7+ RpeyUgKrq+LkRj//8Tf8gfL5MYxzGHYQP5A9QyVW1jbTJBW+p41MWsZUlpKABccj5QRP NDrF0L7NzYfa5Y9lw9s2pu9o5+rsILMc6muemHhrcGjUtubs7TUut1Fn/izl8LVzrnUk sKiQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g12-v6si8082630pll.384.2018.07.29.11.20.05; Sun, 29 Jul 2018 11:20:19 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728118AbeG2Tui convert rfc822-to-8bit (ORCPT + 99 others); Sun, 29 Jul 2018 15:50:38 -0400 Received: from mo4-p01-ob.smtp.rzone.de ([85.215.255.52]:19097 "EHLO mo4-p01-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726545AbeG2Tuh (ORCPT ); Sun, 29 Jul 2018 15:50:37 -0400 X-RZG-AUTH: ":JGIXVUS7cutRB/49FwqZ7WcJeFKiMgPgp8VKxflSZ1P34KBj5gpw91kgwllS1BmEjh4=" X-RZG-CLASS-ID: mo00 Received: from imac.fritz.box by smtp.strato.de (RZmta 43.13 DYNA|AUTH) with ESMTPSA id 6047f4u6TIJ9qqj (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate); Sun, 29 Jul 2018 20:19:09 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: [PATCH] pwm: pwm-omap-dmtimer: fix probing problems by returning EPROBE_DEFER From: "H. Nikolaus Schaller" In-Reply-To: <20180729180804.GA18468@lenoch> Date: Sun, 29 Jul 2018 20:19:08 +0200 Cc: Andreas Kemnade , linux-pwm@vger.kernel.org, linux-omap , Tony Lindgren , Keerthy , Linux Kernel Mailing List , Thierry Reding , Discussions about the Letux Kernel Content-Transfer-Encoding: 8BIT Message-Id: <920A2836-9266-46F8-9A3F-111C01999C9E@goldelico.com> References: <20180728165914.15871-1-andreas@kemnade.info> <20180728203501.GA16194@lenoch> <20180729180804.GA18468@lenoch> To: Ladislav Michl , David Rivshin X-Mailer: Apple Mail (2.3124) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, > Am 29.07.2018 um 20:08 schrieb Ladislav Michl : > > On Sun, Jul 29, 2018 at 08:32:41AM +0200, H. Nikolaus Schaller wrote: >> Hi, >> >>> Am 28.07.2018 um 22:35 schrieb Ladislav Michl : >>> >>> Hi Andreas, >>> >>> On Sat, Jul 28, 2018 at 06:59:14PM +0200, Andreas Kemnade wrote: >>>> I got this in the kernel log: >>>> [ 0.756042] omap-dmtimer-pwm dmtimer-pwm: dmtimer pdata structure NULL >>>> [ 0.756134] omap-dmtimer-pwm: probe of dmtimer-pwm failed with error -22 >>>> >>>> the probe function has to wait until omap_dm_timer_probe() in >>>> clocksource/timer-ti-dm.c has initialized pdata, so defer probing >>> >>> There already is a patch by David Rivshin addressing the same issue... >> >> Here it is: >> >> https://patchwork.ozlabs.org/patch/943148/ >> >> but hasn't arrived in linux-next. > > That's because there'll be v3. > >> But it is questionable if a driver should dev_info() about doing deferred probing. >> IMHO, it should just do it which is how Andreas' patch works. > > See here: https://patchwork.ozlabs.org/patch/949659/ Ah, I see (neither Andreas nor me did follow the original discussions and therefore came up independently with the same thoughts). So we will wait for the v3. BR and thanks, Nikolaus