From patchwork Thu Apr 29 09:05:16 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 12230837 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=-16.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT 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 31A79C43461 for ; Thu, 29 Apr 2021 09:05:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0430861449 for ; Thu, 29 Apr 2021 09:05:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240356AbhD2JGb (ORCPT ); Thu, 29 Apr 2021 05:06:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53458 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239952AbhD2JGa (ORCPT ); Thu, 29 Apr 2021 05:06:30 -0400 Received: from mail-ej1-x634.google.com (mail-ej1-x634.google.com [IPv6:2a00:1450:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6AE1AC06138B for ; Thu, 29 Apr 2021 02:05:43 -0700 (PDT) Received: by mail-ej1-x634.google.com with SMTP id l4so98709675ejc.10 for ; Thu, 29 Apr 2021 02:05:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=/NOJtqVgo4b71x9EB2dWsym5Ul8QWvASKXqefQsrwjQ=; b=0sw+adDQFKWk7IB3L7fR9jOdHajHbjtvty+bwUCXBDO/kc7kgPVbgadSBnXtXidmNQ VqvDdnOcF2b/OH3AEDdQfgkm7vgE3UxYK/CLL70sOROYqlWwjnnSmec2XI9zcjA+7q65 5tuwmJj4sMjb4+2UMIM8PXtsRUUYgCLnBPkJlN/LHDu9eJwV+ceWtLxAitnCPv8zOx1l u/1b4Wi1IMfykBWgErGBv3rMr6OnxRtpAFuMRnukNob5lLCgp/IAfNV7DAq8Apsg/0yk p4wzHXiXfzCyZAINPDDZz0lvcretWqjFzGZ1eAnjs8i5WVMSkQCJ0g6xNv3pjFDdpFDO WJpw== 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=/NOJtqVgo4b71x9EB2dWsym5Ul8QWvASKXqefQsrwjQ=; b=Y33Ni4VOT9oOpMLr3E53L0R0lYre3+SGJl8uc8dy3oGyZOqm6NHiPsCkV6/dk+hkGO kjkHCvCdICn51xtrVPoA3J8fpkfOCrc8XdToVKZfnaYbeurZ0drSaj8WBHJIrVsrcWKG 1Scn+jijJfCnwoDnXYNpqhvZkt9VN3JLI4Im+WFL0tjRVofQYSHirPhTJWy/4zQDUHzM n+lb+m8ynlkSXYuCluF2wbm1WdomKaimJ54xN/Ot4RG1LwprMAepmjSEIASxEnhRNd2F 7IqGc7vpE/suL4ppjpj51CMvCJpCvyVx12fX8yaEHvu8jjvEezEl1+FZdhueJIiHPZOk LCKw== X-Gm-Message-State: AOAM530QwgCAgoZXM2WtjOLR0NMYDdAPAKoU4wcXOJWj+9ifyrX4FBvP LsNEO7qpVYi3mTxb6+jKDC771g== X-Google-Smtp-Source: ABdhPJwIW9xVVuC+zSUpQDbIMAhvucM3JanIYTGinWEGxDvs3wp0tCa91qU9N7pyeonGgJd8ZtiGCQ== X-Received: by 2002:a17:906:c1c5:: with SMTP id bw5mr34103287ejb.510.1619687142055; Thu, 29 Apr 2021 02:05:42 -0700 (PDT) Received: from localhost.localdomain (82-65-169-74.subs.proxad.net. [82.65.169.74]) by smtp.googlemail.com with ESMTPSA id o8sm1420349ejm.18.2021.04.29.02.05.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Apr 2021 02:05:41 -0700 (PDT) From: Jerome Brunet To: Neil Armstrong Cc: Jerome Brunet , Kevin Hilman , linux-amlogic@lists.infradead.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] clk: meson: axg-audio: do not print error on defer Date: Thu, 29 Apr 2021 11:05:16 +0200 Message-Id: <20210429090516.61085-1-jbrunet@baylibre.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 X-Patchwork-Bot: notify Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org Do not print an error if we are just waiting for the reset controller to come up. Signed-off-by: Jerome Brunet Reviewed-by: Neil Armstrong --- drivers/clk/meson/axg-audio.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/clk/meson/axg-audio.c b/drivers/clk/meson/axg-audio.c index 7c8d02164443..5e501eff0840 100644 --- a/drivers/clk/meson/axg-audio.c +++ b/drivers/clk/meson/axg-audio.c @@ -1811,7 +1811,8 @@ static int axg_audio_clkc_probe(struct platform_device *pdev) ret = device_reset(dev); if (ret) { - dev_err(dev, "failed to reset device\n"); + if (ret != -EPROBE_DEFER) + dev_err(dev, "failed to reset device\n"); return ret; }