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 28F7B387361 for ; Wed, 15 Jul 2026 09:55:47 +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=1784109349; cv=none; b=dv2xFv01aJOrh6WWLW1/JNCIbECCSB8kbedVlrcJ3QwM0PGzxAkeB73a5nxse9avvY8XVtCogf0M+t1XePf/AKVWs6FPrxAblkKef92E8LtGD3GXhHkOPDEk5fVcrSXyWXvpm4BFAXjV0GOuvzGMdONWxNfg3Vt+YVFFQ2Li2sE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784109349; c=relaxed/simple; bh=Io36xFabltKlmTksRgpXo1iJElDnjnzy2Dkrbjit5bM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Fw2jwdk/s8j7+cV7jZNS5ZCR2DhCkDjQFLlT4gORYDnSB/TGI/FlYk0YykMTlIXFPSIkoQYVFJxXr7LwsmMCNDvEvblTkrFVhm9yKJQAZmTz/dsD2sHt7KfyYb/PPHube56ttueiCv9GdfWY6WUpohcIlJiQTvMx8omtPIrRQnA= 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=Fft+fcw3; 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="Fft+fcw3" Received: by mail-pf1-f182.google.com with SMTP id d2e1a72fcca58-8484a0b998fso3084399b3a.2 for ; Wed, 15 Jul 2026 02:55:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1784109347; x=1784714147; 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=9OVTt/KuhBx802gK1GpNosauIrh3LIrN95gUsSLZetI=; b=Fft+fcw3WgfDEBtvXxJjUyGo+xJrYHm4BgP+aye2dYBOa5no6rzVVIGeeBkAguWUbA y1ZTcZiHKYsECXiKM6z6z0AOaIn+3NTsqAyP/obcDVr3dV8Ch2VfPRTq/lGMvGSXSAmO 1unak6dpznKca9PDgfxK8OKZqHj2JPvT6BvDnXmPSK8uaX9Qv/V3yMaiRr6s8O1Sy4+f YgA1y2EmwPF987jWOxBVnNwI8PhsCApEC1s94DVfCgF4sEoly94SejIxw4wfrKVNv6Y5 MXWP88ouXJlxIJ2xhmSwliaSJ9lf0I00YPwz446QDlbU+L19AfT9bh703pn1FG8n2h5e 73Iw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784109347; x=1784714147; 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=9OVTt/KuhBx802gK1GpNosauIrh3LIrN95gUsSLZetI=; b=Re1gIOLOQaRqZqmBLmpgG08gqfuyNDmvb7cJi4tcC4YEGeBIRDyNX8cBw32652v5eC +3pXbqfPB1mUvi5hH8ui7eaWMRH1Cocq4vsELQKW2VVu0bPotFKJT/QY5OK8oDBKFRgC v5iHbRwllmPCXuaxdqGvUgtDvFx+QPs301MRUMAwTTQ7hrbsFWravVrSMyXzE1bxyAnI sazEYqz3cnAwXNPjYEMkJLD//ylb0HiLWBYLeHWZB8Z5FiUoniIwXNOlFIhsy13AYTCR Ih6ehqAWGlpCms1Q6eEkYluCdhZoX9B2Jgf7aRitFlNh5GuvXGfV1CmgmBX4tP9iAGD9 /YYg== X-Forwarded-Encrypted: i=1; AHgh+Rq1WdTM9JCbIM64PPGBG2mrp/AZSpwrALEfbNvAtt1/tK8lZwdqP+s/mxwgqYS6GoySbTOv+TxYmzyrzx0=@vger.kernel.org X-Gm-Message-State: AOJu0YxWp4S/oo8/7A//S/bPQ1aNFtBVI3dgo50wXijpqUh0dpYtoywQ J2Fo/FdnF9ix32mqtYMNCX1vGEG25RV6wzn/ZTMLQAutJckbmOt0E8gn X-Gm-Gg: AfdE7clqJkCs/Bo2colMJb5WzyA0DAW9PYgnZ9uGql/H9bVKKlvN4hgCCdq2JGcuOOD 4iROzmq033moMcRJhSU/+VTG1LTraFbwJfopyBv63zfHDETLoM5M0vYAzGdedBs3qPRytTy98kw H3HYbvAge73jm+ksyrTEDt4u1DRv9xcsA/KJ63ScSPWJj0ePYKBGx6ZDboXOuFgl5ZqLrB80TgP nDBMUcmTROCrHaHE91fv896OpFQUXYvB9D9mvbqtTQf8dgPM+7v0dI5povjOBo6nZwpBfKSw+e4 X6s7g0qbAs/etUQA7bkO9T69PXXQBh7rmLwF8gDg1UeZ+eXJ640MDHBdDX128usUg8AnxAUypCd IBjIJ/2TCV79SWmcB2a2BcXv9a2XOovS2wXwnnvAFVWEiuQf3cRHjFAIJVWFdReo3vymPzLI9O0 gE0x35qWEOosJ7IdKC1lw5aNAkvqEkBx7Mri63kLp8yzihQUQ= X-Received: by 2002:a05:6a00:b50:b0:848:80ec:5d2 with SMTP id d2e1a72fcca58-84889738aa8mr15665520b3a.51.1784109347404; Wed, 15 Jul 2026 02:55:47 -0700 (PDT) Received: from phuc-desktop.. ([183.91.15.56]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-ca5b3643399sm11628908a12.22.2026.07.15.02.55.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jul 2026 02:55:46 -0700 (PDT) From: phucduc.bui@gmail.com To: Mark Brown , Liam Girdwood , Jaroslav Kysela , Takashi Iwai , Chen-Yu Tsai Cc: Jernej Skrabec , Samuel Holland , Charles Keepax , Kuninori Morimoto , Chen Ni , Marcus Cooper , Bjorn Helgaas , Danilo Krummrich , u.kleine-koenig@baylibre.com, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sound@vger.kernel.org, bui duc phuc Subject: [PATCH 0/6] ASoC: sunxi: Simplify error handling Date: Wed, 15 Jul 2026 16:55:19 +0700 Message-ID: <20260715095525.40668-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 improves probe error handling in the sunxi ASoC drivers. It replaces suitable probe error paths with dev_err_probe() to simplify the code and handle deferred probe errors consistently. It also removes redundant error messages where the called helpers already report failures, avoiding duplicate log messages. Build tested only. Besst regards, Phuc bui duc phuc (6): ASoC: sunxi: sun4i-codec: Use dev_err_probe() for probe error handling ASoC: sunxi: sun4i-codec: Drop redundant error messages ASoC: sunxi: sun4i-i2s: Use dev_err_probe() for probe error handling ASoC: sunxi: sun4i-spdif: Use dev_err_probe() for probe error handling ASoC: sunxi: sun50i-codec-analog: Improve probe error handling ASoC: sunxi: sun8i-codec-analog: Improve probe error handling sound/soc/sunxi/sun4i-codec.c | 89 ++++++++++----------------- sound/soc/sunxi/sun4i-i2s.c | 28 ++++----- sound/soc/sunxi/sun4i-spdif.c | 23 +++---- sound/soc/sunxi/sun50i-codec-analog.c | 11 ++-- sound/soc/sunxi/sun8i-codec-analog.c | 11 ++-- 5 files changed, 63 insertions(+), 99 deletions(-) -- 2.43.0