Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp6540376imu; Mon, 21 Jan 2019 10:39:43 -0800 (PST) X-Google-Smtp-Source: ALg8bN7Mjv0blW5SYZjWK3QG8Cp3hJGhHKk0H+i7QVLIkNk2OjcLJd1RtWHDsAyfEz3IyGcvPbgp X-Received: by 2002:a62:9111:: with SMTP id l17mr30626781pfe.200.1548095983291; Mon, 21 Jan 2019 10:39:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548095983; cv=none; d=google.com; s=arc-20160816; b=rs5VgaIm5hxEjTVgzKojtepm9LOqBrp4aopb2kfHHp2WwBCAwW8OyC2rk1MIfc1de3 fVwpoYGs6gCzO2Wz/5MoTwWlb+7APmF51eZUpgIop+PC9A6A2Oc0HaqFTrjBRowAZRVR kbyAvjyQJuxctvXwoudUL+HDdBiCHQwXUv/AEFBT6lA+R3NmAYlTq4VzVWuXhtls0WGc mIM900UGTu2O8P98MbL9v49GRmYV6hEdcAMOGZVV6OzEUQp1zxdLvBKuZYBB+NjZGMos Vn39cNCewWvqV0sD8sIlZ12YiD/EZ0hJhvP96319SPAX1TS2uNExEDf9RuXGYSbSUO7h JnVA== 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:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=IbM0DOHyY5jDzz8JUksEJIkvkZh69ojXO6oQ2IQ4b2c=; b=Cwzb45Z6y/Ll0Kc3XYjAYt6t0wKR7DT/Aj0wr+DKiggtRJnKoLCFzpq6tA9EmBmhIq unIp8EDMpjw2eZSAcPdyKwj9giIw/o3d7nqSwuyjRGX7NpvrV3IC4eNYkorOKjzKoQN4 0K+WfykdRyee2/RgE+mnLFXeWhanutWH/xWeCPBohwhnGTlL80T1g04mNcPShYL9kKN+ e88WQlb3HHesG78itzddl0b5tW6B23PSmBmHRIZdU2d8va9tDy+d5xifpnan0soeG3gg ZyDzwBT/Re7hRW0sEbAyiiYym6JWz9Oh5HUifdokV3H0oG5D0Wa0JvN+PlvEJ+jRr3ZU nlXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@googlemail.com header.s=20161025 header.b=BzicyZlR; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y188si2922655pfb.59.2019.01.21.10.39.28; Mon, 21 Jan 2019 10:39:43 -0800 (PST) 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=@googlemail.com header.s=20161025 header.b=BzicyZlR; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728053AbfAUShj (ORCPT + 99 others); Mon, 21 Jan 2019 13:37:39 -0500 Received: from mail-wm1-f67.google.com ([209.85.128.67]:35146 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727783AbfAUShg (ORCPT ); Mon, 21 Jan 2019 13:37:36 -0500 Received: by mail-wm1-f67.google.com with SMTP id t200so11889190wmt.0 for ; Mon, 21 Jan 2019 10:37:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=IbM0DOHyY5jDzz8JUksEJIkvkZh69ojXO6oQ2IQ4b2c=; b=BzicyZlRZpKGla3A8MH48unLgy+9GDe/MS88i0gFXdjLs1rRegmgg9w2PdUkxzVHIz UA+F7FOTX0CfsTi/OituDbsyCkKFu9YbU0qZ13U3pgX+yXtzryClDXMk9UUx9SVT2uNO ImWIP4GdzJRaV0yNNZ6K4CvukXY0Q2sl+sVHjmhmExOS/uyZPLinl0a2GxJSk73lDdBA 0q6h1iwrU0wL2MfwwcRupUTeTkUHS0aXxbZ+WLVFGZz16K4F6uJrXnPXtw4IgNqmzlw5 DYdb78zJrUorRillGFqghAgH4aZFW+rg0CztXKgFLO8lp4nvIFSyR3M+NJVxOeDtCCwA 4XVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=IbM0DOHyY5jDzz8JUksEJIkvkZh69ojXO6oQ2IQ4b2c=; b=WI4MLiQNoRn8rgZtMX3jkbgjptBuDHxVUBzxukXgJOUV0jVs/dabwVZnW9h7ES5EuY sSIfIer71+x5H0MQQEKrPe4ZoR8wW2NnjIx6GcjtDhKJ9hsjGG9Aadfz9YRRIeke52BI W6714FQWsTL1Vqdp0HEafQyjJ1jy++FDYm24xHWD/R6C6RyVPizzC7yaA/UkMOnMSH+X O47BmhLHezvsPT6ystKxnTHMxycHL1NgPly/hKHf8ln4oLimR7827+cQcLTcr1gizYgm TNHzfsuf7wC+JjQcoozNOdkHhQgpqHfPPrhg35Tm58QPxfYxb1TMwe8GFN2Fmtkrqtrz ZP+Q== X-Gm-Message-State: AJcUukeXkNWXljZh/kiHs4T1r+DkUfbrszhNoZsBmr6b1ll0fOBPFTn2 3fN9kCZYWIfbq5Av+SO1z2dKM7/6 X-Received: by 2002:a1c:2d42:: with SMTP id t63mr535619wmt.9.1548095854572; Mon, 21 Jan 2019 10:37:34 -0800 (PST) Received: from blackbox.darklights.net (p200300DCD73A8100428D5CFFFEB99DB8.dip0.t-ipconnect.de. [2003:dc:d73a:8100:428d:5cff:feb9:9db8]) by smtp.googlemail.com with ESMTPSA id 199sm55700630wmh.21.2019.01.21.10.37.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 21 Jan 2019 10:37:33 -0800 (PST) From: Martin Blumenstingl To: lgirdwood@gmail.com, broonie@kernel.org Cc: linux-kernel@vger.kernel.org, linux-amlogic@lists.infradead.org, boris.brezillon@free-electrons.com, thierry.reding@gmail.com, Martin Blumenstingl Subject: [PATCH 0/1] pwm-regulator: reduce noise on EPROBE_DEFER Date: Mon, 21 Jan 2019 19:37:22 +0100 Message-Id: <20190121183723.25231-1-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org pwm-regulator can be a bit noisy during boot. One example are the 32-bit Amlogic SoCs when using multi_v7_defconfig (which has CONFIG_REGULATOR_PWM=y and CONFIG_PWM_MESON=m). During boot the pwm-regulator is probed multiple times - the first five tries end with EPROBE_DEFER. This is expected because the pwm-meson driver is only loaded once rootfs is ready (as it's compiled as kernel module). Other drivers typically suppress an error message for EPROBE_DEFER cases, so let's do the same for the pwm-regulator driver. Example boot log where multiple "pwm-regulator regulator-vcck: Failed to get PWM: -517" messages are logged (Odroid-C1, v5.0-rc3): [0] [0] https://storage.kernelci.org/mainline/master/v5.0-rc3/arm/multi_v7_defconfig/lab-baylibre/boot-meson8b-odroidc1.html Martin Blumenstingl (1): regulator: pwm: suppress EPROBE_DEFER error message drivers/regulator/pwm-regulator.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) -- 2.20.1