From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f181.google.com (mail-pf1-f181.google.com [209.85.210.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3FA2E390C85 for ; Thu, 6 Aug 2026 05:23:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.181 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785993789; cv=none; b=ce9NbFmXK71+uneXilapi71MbF8flgjDjJ/4xB9afWaAgtq8dJ12cFNeNrAmrgGCGzwV0vcPdlLCxeKxzFcZoZo5NOvQtGG7C3CLO2cTpk3xzjRPkZLf/5fD1sHkCvRWCMfy7Yvdv734mduvIGLpo8f6O6Y1D14HQTWrc5ANgvE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785993789; c=relaxed/simple; bh=9x7/N0DyiD4BxS4+aIJAxVJ5PjBthzbB8em/M/0p6iw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=g1LWVuquKGgPg89daZdeTxo8TUUABIY1o/4m+DRdFdaI8/evi5p/DlqjtJHZTXCLQICoqZ+p1oYHrIM7vTMCNnpQslzK90sIqTePXndi0++gwvTbkqvA0t7bW/XxgACd7QOIUIROo3kTizAbEBjsUQwDZ8EfxapnDTT6GUkhxbw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=bXhpkFYs; arc=none smtp.client-ip=209.85.210.181 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="bXhpkFYs" Received: by mail-pf1-f181.google.com with SMTP id d2e1a72fcca58-84864086bfeso1464511b3a.1 for ; Wed, 05 Aug 2026 22:23:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1785993788; x=1786598588; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=1Ex53QN8qUaM4ezvj3nywtUMeXIR5OlcqRfF6FOJ3bY=; b=bXhpkFYszGrV3dNzouIXyup/ldndg/q6tlM5PyTP5tCHXcHFpSYTq27JQPpoGvDm9A szvMeHqAG3ccpKiRJCghevYTEn+beocJtJkMo67L51H2z0F40kRl3WmB237fcXgndgQt JnQdptMEQ3BVZT83d2kwBGk7EnfSGFg4MXc/z+cTOJKxKlv5YwxE+pcGpUfbXKsi5FRM aO9kYEX0WZqeyb8IWNLr6PXaHPPj7SymJZ9RxRSgaV5S94IWNOX8e/fX50yjXCBIYy6m VudE76jKlhDPgf22gcZZcEk8QUK2aGUyxbbwKe5sv5RUnjX+ijjVx0Z/9B3fwEOtvl+g hhYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1785993788; x=1786598588; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=1Ex53QN8qUaM4ezvj3nywtUMeXIR5OlcqRfF6FOJ3bY=; b=McRSAlxZ8Ix4zYe2RSaa8qsxOG7Pf5PP0SaAoPKjfe1MuL3FCaoNxEmedyLND7ASoI clN7eV+uxt0M+8/ByrVslid1qOF+eGds/pkPFtO6ypbZD1bN+iqY0EZyhYYjpAHwyqRe qYmnRvthy165Td/VfOFmHdG/ZJk05fTDm7udUtU/mctHgMC8lEbMVK0ykwdcJ7X0Yxeg iKoR1DYikv1YaRGklj7KsLwgfcLfcMlu3g0dZf8Jh/LiyhD4njy1TL0r89G81BrFb/ap 670mvBLLC0QGl7bD1Pg/fMF0GQsTMskOMlScpshXgbhSbHcEr7CiJqOsPsZzSj3mkqRb J9hQ== X-Gm-Message-State: AOJu0YxZzG5eZRzUAmZmXiNacb2KuSccf4RGb2lEXR/ofoXNghBqRhZO Czsfjg+CnAFbDY0CrTmdcagUbxdqDDJhhVEB3KBA8nBklK7StYK6kBJu X-Gm-Gg: AR+sD13jljQBohWhIwFDFSzs538I/qyqIl9ybLYNsTuwkVNFBIqJUpJUj3i7WKPnYEL S6Co53NJywmH9dV3IenRbYUxDK1MLWSjn0/3rQwn45Rwad0BiqPnourPC3LmGpoYlGi2j0oRU57 x+/pi322HTKstrgQqrZb3i5F26BvvPx96F8j4oF9xSaFLYd8mbHvIiU1zc5drxdMiMEra31P0RY iLzwlwYDGszyAAWGFS8RPHHWROtJAzmq15DbUzaBb7N8zNBCqi3YoP+tiRI4b2uTC7P8aKFUnKI 6RRGSHE4OGktn4gvMaWmeWiW/Pe4EXGJKlX9HxO2rJSivEcLXWvaW4+PnJ+/pAdYF0yub6UHgVb u/RwK8l2Ic/ibWiKGv10Yfjid7Zvgo0jws9vDnDbZIhyaPbJkxy9PDG1keShUdnWiSLDMz/QyHu d5/EJK3hUjjbwqYkaf8xt6bFh1SmW8Voyzo6n5tfExb6ZNWx+0P1xb7f1OtCV0QSALhxRYYgJIb W/WhGmI5NHSu617CHPyg2EDvQs+uCZTl/vVw4+8F9333YLJjDH4L62Uc8zLi+1/tOM89EOO8nIx 8J7J X-Received: by 2002:a05:6a00:3c89:b0:848:7f56:1e44 with SMTP id d2e1a72fcca58-84f2dfcfcfbmr13260578b3a.7.1785993787706; Wed, 05 Aug 2026 22:23:07 -0700 (PDT) Received: from phuc-desktop.. ([183.91.15.56]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-84f45bc9cffsm554279b3a.59.2026.08.05.22.23.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Aug 2026 22:23:07 -0700 (PDT) From: phucduc.bui@gmail.com To: Mark Brown , Nicolas Frattaroli , Liam Girdwood , Jaroslav Kysela , Takashi Iwai , Heiko Stuebner , Nicolas Frattaroli , linux-rockchip@lists.infradead.org Cc: linux-kernel@vger.kernel.org, linux-sound@vger.kernel.org, linux-arm-kernel@lists.infradead.org, bui duc phuc Subject: [PATCH 13/14] ASoC: rockchip: rockchip_sai: Drop redundant probe error messages Date: Thu, 6 Aug 2026 12:21:35 +0700 Message-ID: <20260806052136.21034-14-phucduc.bui@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260806052136.21034-1-phucduc.bui@gmail.com> References: <20260806052136.21034-1-phucduc.bui@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: bui duc phuc Remove the probe error messages to avoid duplicate error reporting, since the error is already reported by the called functions. Signed-off-by: bui duc phuc --- sound/soc/rockchip/rockchip_sai.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/sound/soc/rockchip/rockchip_sai.c b/sound/soc/rockchip/rockchip_sai.c index 1fdec12a0d4e..30b5e71d0937 100644 --- a/sound/soc/rockchip/rockchip_sai.c +++ b/sound/soc/rockchip/rockchip_sai.c @@ -1472,18 +1472,14 @@ static int rockchip_sai_probe(struct platform_device *pdev) return dev_err_probe(&pdev->dev, ret, "Failed to resume device\n"); ret = devm_snd_dmaengine_pcm_register(&pdev->dev, NULL, 0); - if (ret) { - dev_err(&pdev->dev, "Failed to register PCM: %d\n", ret); + if (ret) goto err_runtime_suspend; - } ret = devm_snd_soc_register_component(&pdev->dev, &rockchip_sai_component, dai, 1); - if (ret) { - dev_err(&pdev->dev, "Failed to register component: %d\n", ret); + if (ret) goto err_runtime_suspend; - } pm_runtime_use_autosuspend(&pdev->dev); pm_runtime_put(&pdev->dev); -- 2.43.0