From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f182.google.com (mail-pf1-f182.google.com [209.85.210.182]) (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 A19A53A7F52 for ; Wed, 15 Jul 2026 05:11:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784092297; cv=none; b=q9Y84+tBNQ1rnXyLj5vMdKCEFYKAYEFL70QUCYKIiE6DdrxhG/BHwy2yBdao3PU0jpkaGZsJZqZ9kRT1QHV1RxA37Nja/Bqy3jRcnxSpiU3dCCauFzNdHJ85dXxMUkCPgOeCKkZSJo94nRcGCjtJbJWoOMKU3nQ66NEAayx+Pjs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784092297; c=relaxed/simple; bh=wLfOO1NjrRiTtwaGm7JPjBb+fKmIip65GwFcQmhK/bk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=WMlg5wkPOheynw+CJEnKQJWvfqzCucieuwNP1JWMrN0qog/Pie5pK4lfZwDhFiBJSa8H7X8jUdnhVGtHj0oA2B8yAWj1VsvBQAXAA9nR/hjZm2ftXnyvTXqQtX942mHgehclDvfk8yiwmrHaNBuD8jua0HNzHABgsMHWhpLfo9E= 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=Ffkm6Une; arc=none smtp.client-ip=209.85.210.182 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="Ffkm6Une" Received: by mail-pf1-f182.google.com with SMTP id d2e1a72fcca58-848479c9bd5so1368591b3a.3 for ; Tue, 14 Jul 2026 22:11:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1784092296; x=1784697096; 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=hiWrcvhaZMjOWMul2Thf2vIaA7D/1tD3CdUZoRhlXBI=; b=Ffkm6UneWFj7jPceXiW/2Hg3Y8IZmnBZtTl96DS2N2wk+d26tvcOB+Sz3wa5p06qOG FK5QJvFAeMuig14DIMQjYZrC+q6xbu2QJke6IlYklwL2DqqUjatFahYQJL7gTlOZ224p 86WcNVwBFDS2JnnjDDesnHuPcVkDmarQi8STdLy3gUIm63CIc1x5aRsEaln7QDziLdsd E4TqlChM7LvOVKgKSHsRpwMAHvAktoXmgbZgWOGHDAEjTTz4tv44sXwZfWCovqzy9vOK VdwTLAKSHeGyeX/r4rU2dIClYtFgTyb5anW6H7iVS9TJ4Dyhv9jL2wWJYv+AmGGQ2VB3 tYQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784092296; x=1784697096; 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=hiWrcvhaZMjOWMul2Thf2vIaA7D/1tD3CdUZoRhlXBI=; b=qjXgMQshb99IGVBY4sgq11oPblh9BomIE68ikJCAUsHZCC9Ym44TU8lUGCIb623k1W XhQ+A8gedUN6y2ShqbuCt5AgdIGR1DMifCOtLbjUid5tkySW3jMGnSmRj8ZOHVSz5eT7 uh4zC1pUv9q29XIxkKgRSnYk0Hq4LNGgF7P2dcqYSxXmpSE2FOKPwpAj6FM13QSeJP29 yaVdyUdL0stG+aMmwp+DJc2eScNvsRljDc3GgGCKIUEWh5GoMoIO1D8bVlVCWCFOUuuq sa+LvOi/c7s/x32Y4FM+3Y9fcEAaE70Ok+QukUUfWAqrRbK5xF7SBpYgjp2haDWMve9Z OwTw== X-Forwarded-Encrypted: i=1; AHgh+Rqd632qVNwvtfLPlJg9+o7zCMuELmno4+Ocl9ohXPBCvt3MtdHo7+j9dhe9SQTzwFGLPycFBD4TIFR7hd4=@vger.kernel.org X-Gm-Message-State: AOJu0YxftUopLIa6UI66WeVpoBWzQwYyO693wzkf9ujeDUd2lQ2IT4F+ G0wB+QOTQAH8Ah8pbApdO7WZS3LXtvLbXkoCyhVrxXTMxeTejybS3ceF X-Gm-Gg: AfdE7cmXRZX2FnF0zlOdDZFktF6lcSfP27kgsNWSPtI4eq2dbviI5XTLv8ILIVWyDqL u+epR9Jh4V1b4cfZys+Ws9XLCpa8AsD7Nxs2GBr1nWY4KRaI+0mVd254ckXK8wAQvaFleL5R7Mt Fu5HFLZ2ejl8HPEySndvPQ/KXq6jnug2RjXrMC+DfhBgaC7WkUz40YKgwKFN0OW7w6l/Co3HSNl CXE02ez/gex0e1/CpBSwaWEYhSRfR+39Pm37Jv3Qe6m2L6/V+wZXkoCA3cnfZMimm/QGhjy3jlR 8dltHOmOdppWUprJKXtjV4/XxPgaYWgudTn4ogBVBecS8Ly7hNjP/7PN8VsQOsXZHo4r4kTEO9+ dxorC50KplOZhlOxMfDKfl3Gqxlb3LZ4PHZpy4hPEfd/oZM84obh6u54CL4olnuyfrEwTLwOWvg KeS7COodhis9AhkGy1ZHCFdhWfK4AjClxFIpp3nJwumvlqCxQ= X-Received: by 2002:a05:6a00:23c9:b0:848:2f74:d8d9 with SMTP id d2e1a72fcca58-8488986df61mr14464978b3a.74.1784092295808; Tue, 14 Jul 2026 22:11:35 -0700 (PDT) Received: from phuc-desktop.. ([183.91.15.56]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-84a4f271ddbsm2594093b3a.18.2026.07.14.22.11.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Jul 2026 22:11:35 -0700 (PDT) From: phucduc.bui@gmail.com To: Mark Brown , Thierry Reding , Liam Girdwood , Jaroslav Kysela , Takashi Iwai , Jonathan Hunter Cc: Krzysztof Kozlowski , Sheetal , u.kleine-koenig@baylibre.com, Kuninori Morimoto , Rosen Penev , Piyush Patle , Takashi Sakamoto , Bjorn Helgaas , linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sound@vger.kernel.org, bui duc phuc Subject: [PATCH 0/4] ASoC: tegra: Simplify error handling Date: Wed, 15 Jul 2026 12:11:11 +0700 Message-ID: <20260715051115.17385-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 contains a few small cleanups for the Tegra ASoC drivers. - Use dev_err_probe() for regmap initialization failures. - Return the original error from snd_soc_add_component_controls(). - Use devm_clk_get_optional() for the optional sync_input clock. Overall, this simplifies the error paths and makes the code more consistent. Best regards, Phuc bui duc phuc (4): ASoC: tegra: tegra20_das: Use dev_err_probe() for error handling ASoC: tegra: tegra210_adx: Return the original error directly ASoC: tegra: tegra210_amx: Return the original error directly ASoC: tegra: tegra210: Use devm_clk_get_optional() for sync_input clock sound/soc/tegra/tegra20_das.c | 7 +++---- sound/soc/tegra/tegra210_adx.c | 12 ++++-------- sound/soc/tegra/tegra210_amx.c | 12 ++++-------- sound/soc/tegra/tegra210_i2s.c | 10 +++++----- 4 files changed, 16 insertions(+), 25 deletions(-) -- 2.43.0