From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pj1-f53.google.com (mail-pj1-f53.google.com [209.85.216.53]) (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 0163335AC01 for ; Sun, 18 Oct 2026 05:47:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.53 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792302433; cv=none; b=XmCfNaYfaGuBwivzMr4PfFNwyPBQR0sUA3y+9lpyUZNGWRWE5y4V/ToYqlSHyN8Bzby/E9v0r3lXknXYLGo8CfoD7nt08PBtaKskKwxM+l/2Pqu6WwDFpP+6vXSn1Uyb7YZoSJEZ8AKYif/txL3qkxUSpJFuHotDByJfzYrf9qQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792302433; c=relaxed/simple; bh=nL33N4MkG2GAXW61rbmW51GmG14HD5JKfZBJNorgJ1I=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=qT+FjXHOySHURUmp3acNsErYtxRhoWPx8xvpx/k3GN4THeuPcSP/kAzGdKS4gqCvUzGZffd5ckUGJSEGDTkj96bRKP33SNI7HxbyQAXnC5JL0TfyZ7sdVskFYvgulfbbag4bLvNqtfEXaO+DYrXq/5InjuL4nT1xo8UMzLXmeGs= 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=b1b5Yeie; arc=none smtp.client-ip=209.85.216.53 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="b1b5Yeie" Received: by mail-pj1-f53.google.com with SMTP id 98e67ed59e1d1-3acb11973c3so1096548a91.3 for ; Sat, 17 Oct 2026 22:47:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1792302431; x=1792907231; darn=vger.kernel.org; h=content-type: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=OZY9wh4sxQs63RQAxeF2tIFILu93inTX2QwnrPUnhYs=; b=b1b5YeiegRWMuWgLAuFRN7y6LxLREtGy459QCaTt1P9kb1YUBoMa5peZcYbwjpPBuL De/5iwn9vjTflKclM5OjnUhljJkSp43agMqm01adiGB7umO7iM58dJABbRdfRemF8Iy6 8JYvx7EsgoY6o6A/A8QrIIPyE4GHM2rmVWKgwIXIi0lgV4WpaCugxQj7G+sMy95Kczjh r3AzTIx5aFRegSzQhM21iW0TRdV9YJIdcrrpZ4XOF7fFYQLrcVDXbgW6wxdJGVwngXxx 0dJ+rwgOuSNG812S3HXkuVU3RAAI5Cg0yk6zALS6sT3eoBeYWKGIFoeRCaO1w5PpR5Vt We9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1792302431; x=1792907231; h=content-type: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=OZY9wh4sxQs63RQAxeF2tIFILu93inTX2QwnrPUnhYs=; b=zma83aP90eoJZbo2HBgNc54HzZsV6E/+KI6wNp8dXz0X+ruCEbNsBerLhiNczrD3Ml 88iO1aoysjDe/EEVDZN3faFj4S+1i2wvpcd0sitZoUtDuYsW+aoYVMZBVIeBQeWRex1H bywNrIqzhHciPgDylH1XnlunO778QLrf+/pjExOx2iZ/j2+rZZOJ9AQ8CXXdPY8NNWAh wlnq6gjubS3bGsYJkgHIN0N4xKXJskpRcandscbrmDzPHqFRezRzb7bt2/pAf1R3JQrN UizAXEBjrTfzqQyshNx7E2ZB6TjkEvTlYSjprs66IvgiiEvqGn0CJMvZlTpPOwcw8xle iUAg== X-Forwarded-Encrypted: i=1; AKwUvBwE2+/hNEIsQEPrcQpQnh9jSPJ0rkTvP6NHFGwLPzFmB9pYsxhKDAhmlZPd5CsvPApD7PaBNsc868I0NyQ=@vger.kernel.org X-Gm-Message-State: AFq9FYIDB8nwoedir518MPtftKLdYkyZD77MwlHL5UV4mD4DIF/wnP0b czQVwJKtn70sC110LORcuQeObkYJzC7APdJqODw2XYJ4EJg8hTST7geB X-Gm-Gg: AYBFou3VvMM4YlWYnSOSUiRf491c42Zv1yNbU61i6P8zzXJHka7hqQKQifJont6a6Hw iNYPtOzd6OgxdtDrZdD4yGZncY4EAc2iOZvY5FNdbebXoCGgotA5kKKCLi4QfCw81u9WutBaX8k A2lYxbpzuIVW6wjtqwrYg/lyEdTB8yjb+iE47vbVmdhAsE9FfhqlOX5x0u4VmOf68rhtWYw/AWv v0F4iZLsZw2pqYJlGW15Hu5YL2FI/Btf9j2jHrg9jkpk/lAaXCZJcQpY7MU18mgIknt8lrlvMQf zEVzHlKxN+hCS2Hnwn36/gcdUwGrYN26PFTYbBZ6pp5XHOsGKr4BksHZ9Yb5Lu3B9yUQ3efKx3l liUzrq7Is2Su6dBlBgsYWNDp5W1oFXYshZ9RbUGxmDioSMFoZVRWZmFV+XO8MCMa+PYTV0NITtk nVWl7Et1nHrUBw4z1o88/C994de0Qv4XakS6W82AXQmm72rf0F0Wsdb9QI8HZNPOLXYvykkRRr+ WjeCIh6LRXMxBBH8J87LclPHMYTX+kDzmlcxI+Yl82OPys7qu/Nn6cSxezYPQX8t49YUn8hghz+ c1qJkV51i7ToG0CrLLbmpjFUuo3Sqye5AKgKLQxphAYyCs3GqIQ= X-Received: by 2002:a17:90b:4c49:b0:3a8:185:cf40 with SMTP id 98e67ed59e1d1-3aceeb95f82mr3942070a91.10.1792302431271; Sat, 17 Oct 2026 22:47:11 -0700 (PDT) Received: from setsuna.localnet ([2403:581e:d87e:0:fc2d:ed31:e80e:412d]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-3acc9d266d6sm5442358a91.1.2026.10.17.22.47.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Oct 2026 22:47:09 -0700 (PDT) From: James Calligeros To: Charles Keepax Cc: David Rhodes , Richard Fitzgerald , Martin =?UTF-8?B?UG92acWhZXI=?= , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jaroslav Kysela , Takashi Iwai , Matthias Brugger , AngeloGioacchino Del Regno , Shenghao Ding , Kevin Lu , Baojun Xu , Sen Wang , Sven Peter , Janne Grunau , Neal Gompa , asahi@lists.linux.dev, linux-sound@vger.kernel.org, patches@opensource.cirrus.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: Re: [PATCH v2 08/21] ASoC: card: Let 'fixup_controls' return errors Date: Sun, 18 Oct 2026 15:46:54 +1000 Message-ID: In-Reply-To: References: <20261004-macaudio-v2-0-7b47ed6335a8@gmail.com> <20261004-macaudio-v2-8-7b47ed6335a8@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: quoted-printable Content-Type: text/plain; charset="utf-8" On Thursday, 8 October 2026 12:23:42=E2=80=AFam Australian Eastern Standard= Time=20 Charles Keepax wrote: > On Sun, Oct 04, 2026 at 04:03:35PM +1000, James Calligeros wrote: > > From: Martin Povi=C5=A1er > >=20 > > Let the 'fixup_controls' card method return error values which will roll > > back the half-done binding of the card. > >=20 > > Signed-off-by: Martin Povi=C5=A1er > > Signed-off-by: James Calligeros > > --- > >=20 > > include/sound/soc-card.h | 2 +- > > include/sound/soc.h | 2 +- > > .../soc/mediatek/mt8188/mt8188-mt6359.c | 4 +++- > > sound/soc/soc-card.c | 12 +++++++++--- > > sound/soc/soc-core.c | 5 ++++- >=20 > Fixup is missing here for sound/soc/sdca/sdca_class_function.c Unless I'm missing something, that one calls the .fixup_controls on snd_soc_component_driver, which is not the snd_soc_card callback modified by this commit. That callback already expected an int, and class_function_component_fixup_controls already returns one per b8f71f16134f ("ASoC: SDCA: Switch to fixup_controls callback for IRQ registration"). Regards, James