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 B6B763D2FFC for ; Thu, 16 Jul 2026 10:39:27 +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=1784198369; cv=none; b=ry4MPNcOv99bnaXuw26MYVeIwC1OF3GCJvdLWFKmR8bentLRMcxcGFzfiRx/rUpTENRn0EVDlyGoKTa6J1Tgu6/bX6YEIm4bqACK5dizAtyEqRSHIFsnBJ4IXXB1G8UkK6aIMVXh7oaa8vwDBQ2XJQgBPvrY+aCYAsOm28QqD9Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784198369; c=relaxed/simple; bh=HWp+w3zWLT/STA8qJtRJUsPudz8/gv6NAGmdGdKJKRQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=nTMYXzokGTk4MXSafIu3IWrt7EVGBXk8XU+iSLch7PvFTRM3mxv0bl3H7ODmVyK7VtzE8kIMHns7o7Xf6tGlEx4IEOcXBwEBbrpfKmkNQhGC93K0Z7sqvchvHEVmfVIVkOXtGLayBRGBGjTYGu2DcGpPffQBnu0K6D+82rpcTmw= 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=JNtFc9BU; 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="JNtFc9BU" Received: by mail-pf1-f174.google.com with SMTP id d2e1a72fcca58-84a2c90e383so89215b3a.0 for ; Thu, 16 Jul 2026 03:39:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1784198367; x=1784803167; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to:content-type; bh=nTjXyXh6ilqWafAhwi9/ETtAnvPu6wZfnYV8+FiwGAE=; b=JNtFc9BUsuOkgsF85Ojus+GdIDCEulWB3CMbEgbqXDtkNiizqWZvGItzuhOLxxqTY4 s7olNUigBSMtYzClZywB1p2asNYcK71Sko/YBZOOG5/weN7nnqH/SDfoTr9MIP/qMWJH HOL/nPrz5jmWnT8Wf7vlGxjClajrZYDrUZXJdRLBbPDgfQs5JxyPqDVrpPOzMSyUyOKI wh4o6d1693geAsRiF5Dh9McWIDdHOkBmbB31WZQ0Z8cQ6cwfkWuXnUKasuJJHQYTiSE7 xblhSDy8vj/1OLGq1dNJpYOCkTKyHtNKyDMkCICWpzgKH/S7d2Ky6l263s5mx8qho4Y9 pEYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784198367; x=1784803167; h=content-transfer-encoding:mime-version: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=nTjXyXh6ilqWafAhwi9/ETtAnvPu6wZfnYV8+FiwGAE=; b=SFfeRqTAXCyW0zox1asT5CFudWTHy8Mz6YBPIz0V6K8dGAwgRJsXC5h7jlRxnJw4Jr RvFgan93CzUdXwoJZZJwXNWQrr4d4FBg/dLjgK68Z3ZzT/21zt/HfxOGxEnUV2LLS7KC 9bTk8pb1OPEc5objMIdFgGeAdgWoE3jPOyyohQoV5Th8BRrgfJGWan5CyEk8687uRe37 1bpskbLYY7JVk0IcEmDxwWvcTtY1KpcnIb5dCoActTO+UuWKwEOP6zZkSels25ErJozN E2c+rRtCIpA+tcV2Doj/W/plwVobPGblP/LsJ+XiDhwmhJSS7w9tb6MoZRU/QU+wO5n4 M+Jw== X-Gm-Message-State: AOJu0YyD5nxd3QVZjOsp16dbiPA20txidQRJCwUY5xS3QTTMapOZL0vC F4mZ+A2+gKl6e6PmSTDjHqK7L6MftrjqnrtzK9EjYvb1hGshYCadQ8Ma X-Gm-Gg: AfdE7cnf57Zw6WN2hF+E9ORlg3GnDzkLJamCnVQXWdiNlrTOHHd2OpIpFP4QcoiDUPo x0uULODDvGk1sXsrnIlD0rzYRcJ4OltguXZ37XqZXuXCCJRFTRmShY2iH5ym8vn8U8VfDJz/WSX o3AbBgBE4OBFhq7LenlV7dPjrATE9ipVTg7IQypmZ0WALLOdw1K8eXgvHXpj4/ZglbEEFGIbPtw AiYoc5SxZ2/YTBE5Lms2UFa5h0l8fQOS5cZXnzaywO0DEiF3lStDz1bbLtK/CJPaKjqEetgFurj 1FdmXeX0Qb400UMbekwjAK4edw/U6FCnaHLMZ5ZQfhV7Yk9UujLrUC7qhbaApb0VXT+yOxXy1n4 CaJSkMgevBSR0YBSzYom+PdMB7HOeB4TnYHF8CPHOzWFvEfd8bzVqKcy2OGvPq1dGDPdqVKAd6w 9uPVDTQRKUaxO5t/bqKADJzIe6PxShkTI2mpXi X-Received: by 2002:a05:6a00:f0f:b0:836:6f2e:bb6d with SMTP id d2e1a72fcca58-84beb18b699mr1948890b3a.14.1784198367073; Thu, 16 Jul 2026 03:39:27 -0700 (PDT) Received: from phuc-desktop.. ([183.91.15.56]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-84a4f266724sm4757331b3a.15.2026.07.16.03.39.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jul 2026 03:39:26 -0700 (PDT) From: phucduc.bui@gmail.com To: Mark Brown , Sen Wang , Liam Girdwood , Jaroslav Kysela , Takashi Iwai , Jarkko Nikula , Christophe JAILLET , linux-omap@vger.kernel.org Cc: linux-kernel@vger.kernel.org, linux-sound@vger.kernel.org, bui duc phuc Subject: [PATCH v3 00/10] ASoC: ti: Improve probe error handling Date: Thu, 16 Jul 2026 17:39:01 +0700 Message-ID: <20260716103911.77652-1-phucduc.bui@gmail.com> X-Mailer: git-send-email 2.43.0 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 Hi all, This series cleans up probe error handling across several TI ASoC drivers. The changes fall into two categories: 1.Replace dev_err() with dev_err_probe() when reporting probe failures. This preserves the original error code while suppressing unnecessary log messages for deferred probe errors. 2.Preserve the original error codes returned by helper functions instead of converting them to -ENODEV, and remove redundant error messages where the helper already reports the failure. Build-tested only. Changes in v2: - Add missing parentheses to `snd_soc_register_card()` (Christophe). - Remove an extra blank line (Christophe). Changes in v3: - Add the remaining missing parentheses to `snd_soc_register_card()` (Cezary). Best regards, Phuc bui duc phuc (10): ASoC: ti: ams-delta: Use dev_err_probe() for error handling ASoC: ti: davinci-evm: Use dev_err_probe() for error handling ASoC: ti: j721e-evm: Return the original error from card name parsing ASoC: ti: omap-abe-twl6040: Preserve error code and drop redundant log ASoC: ti: omap-abe-twl6040: Use dev_err_probe() for error handling ASoC: ti: omap-dmic: Use dev_err_probe() for error handling ASoC: ti: omap-hdmi: Use dev_err_probe() for error handling ASoC: ti: omap-twl4030: Return the original error code ASoC: ti: omap-twl4030: Use dev_err_probe() for error handling ASoC: ti: rx51: Use dev_err_probe() for error handling sound/soc/ti/ams-delta.c | 4 ++-- sound/soc/ti/davinci-evm.c | 3 +-- sound/soc/ti/j721e-evm.c | 7 +++---- sound/soc/ti/omap-abe-twl6040.c | 15 ++++++--------- sound/soc/ti/omap-dmic.c | 7 +++---- sound/soc/ti/omap-hdmi.c | 6 ++---- sound/soc/ti/omap-twl4030.c | 15 ++++++--------- sound/soc/ti/rx51.c | 28 ++++++++++++---------------- 8 files changed, 35 insertions(+), 50 deletions(-) -- 2.43.0