From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f181.google.com (mail-pf1-f181.google.com [209.85.210.181]) (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 D64573A6B67 for ; Sun, 18 Oct 2026 05:48:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.181 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792302485; cv=none; b=T0abjaEUDYu307rCwQEc/6BGy2SssiJYbrwrEMPPIkNZ7Hww/A5wqJR5Uqv6kneJMA7zUqgozaNAACgvfWVRSt3ipwjScci6CNLs2JsCVMcz7dyLYKatQ8hS60V1foDy6et2KoaGrVMxFVRqUNYyPXBCqiOZAZT5awSrQ6Qt13A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792302485; c=relaxed/simple; bh=nL33N4MkG2GAXW61rbmW51GmG14HD5JKfZBJNorgJ1I=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=mRvQrO+RFb+J763lb9sU6emy0NiZPq6rGU/0GEU5nJgLeH5MhMPtdzG6HOri5+Aq3jlJWM2Lo0HfB2txmDsIRQ+MyAJpVnEEvTxLHyisP+VTRVQRnD2BJVolGRmEBUoA+iiSXT8iP4/xI23fGqFX1bl5kmKM3+JcnYDvowCar24= 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=a+Fudt+4; arc=none smtp.client-ip=209.85.210.181 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="a+Fudt+4" Received: by mail-pf1-f181.google.com with SMTP id d2e1a72fcca58-8a04d34e294so420965b3a.3 for ; Sat, 17 Oct 2026 22:48:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1792302483; x=1792907283; 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=a+Fudt+4e3OgW67xS1yaWa8wIhwZ0817b8ZSxDEmUF7BN/A8tWfBQdUtxrSbUpOixK ax0dihjdGmYwaGU6Q9Tv3mxTI8Iu89eMfygwHBV+yHZozOl9Qv+wMPLkxvAEBHghsKjy n2WYDipj5a1iuntZKr1My8AunZiesDyYCwglNoKCcOyMWpbDDnRnoTv5NaMPSTEgL1EQ ua2QT2RYy56PwqQOSvHU3nAfRrs3a65vPB/Z5bgyjCco8D7layo2OPpAhe+TLjbcBhhL APFMzXGDKF6ulpYnzlIXC1uTqKDEt5xVsyN0OcAZAa47rQ4VPqQkPFHSYF8/ID84zObZ biKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1792302483; x=1792907283; 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=0WWPBZQBpNoVAQWiImjMbr4/UNSKVFQFbQPI6fW+T6a1yq1G28NWy919Ak4DWyEvUI kzPAPXYtFuNm9rsrQEc757PamBBOI4XbA64RKc3NTBVzOtitAKBpJfJXVDHADPG3xF8C E08xk7N1FfnS4M43ZxXlOfEwTFDUOOq+QCfikShaoFvEZeOJkRhtuQX1Xj+rqp37di6V /pyx2c0rbpI7EuWTdQnQtNlegKD7wAz2acwInGu4RxJydUPx1zjel0WJpUyVRiwf3THb tw7DPriXzLoll2WJaQ5Gtv5jA31Rra2thQYqyrGayHzdLScehQlMfb/64uEuAN0125hp 6zSg== X-Forwarded-Encrypted: i=1; AKwUvBz9RKCqn+VwEuBPGrGYSu+I9LxohObjeqo+H2f2Ae260N7H0NQHzBWAYcICVaL8HJQmuNphym9FCUiU@vger.kernel.org X-Gm-Message-State: AFq9FYJM3fGUxo3tlHBSjt0h3si6ePi3vGKA2gW3JjlbxRq2/0t3PQuL BKdSF3yop/Zx+uX38PQhmw5doNozgE7Hx5L30xS2Y0vrcnseE6L9WdHn X-Gm-Gg: AYBFou12UGtYWkKZ6PmnhOSHU71jenOUYfmUjigquia7en49SIvGW3ymgES93tm106W TS7JJKQhuBZj4dVmrLWFfLJJByijthMJgTz+4l8e0om5dFbqulmVoZndWDHfgIRim4QCJ0sKsu1 wjRhLYumky5TgigRUj11G6mPwe8wQXH2IzNInD07aYESWidOqKuEXdCK0O4xL2K+Hs55GjRHcqe 5J8j6GTTRxJRw/D52W45MxfR8pJMXe5Fikg/+WCtjhaCkALRTTAO5Nq+/i7Qr1oGyy2XJPTGv9C qi97X3BrFI2sMXDVw6zwfryBfb3s2TNVVTqShH7dVtcUREUBIGA8INF1rI7A08pGasCRuimTC7T QyMcYLE+vSwWVqY08q5OICa/ohXWdmp8UUqbxbtgf0t73XA2SAzhJRBQgvKACVV/x6eKRVhYJjH iPv9mAULe7RX0JvQ49YREEmTW0NWtebbk/fUMa3V/saXjobHZ2pyl5F6VfdfRKAkuqu6PqdDKU2 15AmGpNJu2iIqB7KP/N4BbgRV6dhF9WIUQUQLMIV2KKp2p2CJgobbD+vfEkyzYXpnwQp2JH5Epo GipRlOX1/l4EI1AnPyqBNf9doXAOotPaEKk9JKezzUZSEI6fmiE= X-Received: by 2002:a05:6a20:c5aa:b0:3e1:efce:1d35 with SMTP id adf61e73a8af0-3e225f2b40emr3593769637.14.1792302483139; Sat, 17 Oct 2026 22:48:03 -0700 (PDT) Received: from setsuna.localnet ([2403:581e:d87e:0:fc2d:ed31:e80e:412d]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-89f57452b16sm2648102b3a.29.2026.10.17.22.47.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Oct 2026 22:48:02 -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:47: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: devicetree@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