From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f174.google.com (mail-pf1-f174.google.com [209.85.210.174]) (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 125B035C6AB for ; Thu, 6 Aug 2026 05:22:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.174 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785993762; cv=none; b=OmqS535r3jVhiCoYj41kUklPzrMPKx7PslVWqQbmExKvxNom43B3JlYD5Lh8DuTHrNqGWN5NSZBNAEYPUfp0jJh6+tDRq3k3ijT3TlonQ0CcpplbYzcGQMwRT7aC3ILc16c9OVcL+J7igdDxSg6qMxYRVu5uzPfT0goot+jJI+s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785993762; c=relaxed/simple; bh=QbrsH3Ye3OVwGF+o/qAklVVTMlaBOcFIHP8AU4D7yvY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=mBUz/jYn4EgkPky69VISz7zdyPnR0tljfulwJwuBPv4+WjK2ATSlIxqN0JPDVuo/AfGxSvU317yEBNEnywyShrKkAzzpJd7sDU9yO8FJ0TPAORLPai4nTgBaBMFlE0OHmNEeR9ELzgGHlMhRtpxCC3OXrE456AKAsiXKXRAWnyM= 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=d+gGC4bA; arc=none smtp.client-ip=209.85.210.174 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="d+gGC4bA" Received: by mail-pf1-f174.google.com with SMTP id d2e1a72fcca58-84830c774a0so1875191b3a.1 for ; Wed, 05 Aug 2026 22:22:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1785993760; x=1786598560; 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=YJadDqh/AXReHASvk+eJve0FUluChS8L4Z4vpvFJSCs=; b=d+gGC4bAIuHPYOknwFjn8+s6/HkZKYB2QmiihclkNbvNJ5W+6ofzdYhvTWPbhmWOK9 xgNCiYEFBz6xvRxv5uUH7E+IH21bpVOpxdNZ4fL7oIv68rXEeDTnZgswvtzrjVRhJWef RM5ZQWJVQ0MAvKO5BeqaA0FUy6I8wEyU9xbzmMB5ATk4h/PuGVeRb8U6ufncq4db3gpt /OHvuJlf2qHh3gNVy7Smn7jOXorp85X2HdF26CF7dBF0zibpdZ0/sn8Itu+SURiEz85E y1DIr+u1fAzSdM75HDIIxlJphP8BfOsmg9kPS/9o7cRZREcdqK5jEpT8JQHwR+HbQW9f V25g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1785993760; x=1786598560; 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=YJadDqh/AXReHASvk+eJve0FUluChS8L4Z4vpvFJSCs=; b=p/XU6emboQw49jaZRpX+Uy5jmO8ZVicVe6OAUYT3Q544IvzcmiGEcYiBU+mWIMFRpv qCk/7/j0PZJLThWFzSHvVn5EGdYbPIujBJHhnzkK8TV1tID/we+c5cfACVKvzbBP7eVa rN5C9H4sM8+O4HpQOyYagtRWEIR1RCkMWeRUHlwB5R2ZH5uSKUTLl0gsTFiqf4EifR60 zyLJUxrJe+4OY3aRyPLNI4JOgGRhuZFILrfN7dTGNympImDvNQkGU9jHIjCIaWehtMMw Adc2hmyPu9knMec4YWMgeBKr2kL4TxpBusuInbuVVqRABiLyd/Y0RnUCohwJYo2jzuMY JVEw== X-Gm-Message-State: AOJu0YyixB9/jqyalZ/xQTeo4wFN/4lJzIfR56DopdxYm5WPHj0z07jT SBXqgmh0lKvFrf4q8eLaWtR5Ep1Aw4bdNHCjDXsvslIjh/wUTV6awKTY X-Gm-Gg: AR+sD11VjmwFteWYvxAGG5W3hEYJrrJbw66YskfVBV2FZZ74KerbZmZWFtk1khiYxmw 5Jvgot8Xkjhl4qlPH9CfoSwq2Zbn4aU/Q8iCiciNfHlIHbvf07BhsBMVW04UHAkZ8xJql1brC5+ mPBTVsu/BJ+w5DulKDEP2NYDX7tLoA+1plFtYTMeVY72rUk3suqa6TKRVye/f6xoFbmV0QdLNlh 7PB/16oxwUazOx0wx1FSJKRA7Y9ZGCRvSRrtB6uDr1vNPzDZLZ7YeuoxuJbzvFdfb3Rot1iMU+6 nZYQC+U7cPxQp9aGACaPjCKubS9OFZXqOVxDDKKtO4EHaIAfCMeAJsEi5TzFrAD/VXrg7Q1sY63 nHyKQOu5WJgJc0w0QzkuUt4M5RkCa2U36HV48lIBjc56NqlmeIvSs9hMKECkVqNrhWPuMvNdV+Y 68FguThZ2mVMnCs5bBjcsgn3EnixYcE9ywef81PJpCkyAI1S1QpBGX7dixDloDQtyrjLYqkXraM 9GI747OKnQn/YFrWkaUDSc37Dp62v0C0iBzrtho4ZW6h2WEj8maEAHczI18LAyHASrmKfWKZQLp TiSi X-Received: by 2002:a05:6a00:1250:b0:847:97a4:d6b3 with SMTP id d2e1a72fcca58-84f2e05124dmr12546494b3a.16.1785993760355; Wed, 05 Aug 2026 22:22:40 -0700 (PDT) Received: from phuc-desktop.. ([183.91.15.56]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-84f45bc9cffsm554279b3a.59.2026.08.05.22.22.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Aug 2026 22:22:40 -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 07/14] ASoC: rockchip: i2s-tdm: Drop redundant probe error messages Date: Thu, 6 Aug 2026 12:21:29 +0700 Message-ID: <20260806052136.21034-8-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_i2s_tdm.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/sound/soc/rockchip/rockchip_i2s_tdm.c b/sound/soc/rockchip/rockchip_i2s_tdm.c index c9ad769a4072..5ef7f109706d 100644 --- a/sound/soc/rockchip/rockchip_i2s_tdm.c +++ b/sound/soc/rockchip/rockchip_i2s_tdm.c @@ -1361,17 +1361,12 @@ static int rockchip_i2s_tdm_probe(struct platform_device *pdev) ret = devm_snd_soc_register_component(&pdev->dev, &rockchip_i2s_tdm_component, i2s_tdm->dai, 1); - - if (ret) { - dev_err(&pdev->dev, "Could not register DAI\n"); + if (ret) goto err_suspend; - } ret = devm_snd_dmaengine_pcm_register(&pdev->dev, NULL, 0); - if (ret) { - dev_err(&pdev->dev, "Could not register PCM\n"); + if (ret) goto err_suspend; - } return 0; -- 2.43.0