From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f169.google.com (mail-pl1-f169.google.com [209.85.214.169]) (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 6500E415F31 for ; Thu, 30 Jul 2026 09:54:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.169 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785405282; cv=none; b=RW7D9DtdXZI5Gg9lvqA+QjYvk8x9X4930f+z03Tlrma93iZBGX+CLuFg+XKm230Ac0Veu8JYTeVQkrzgjNkz3xi2GYS1gqObZPcFJvsmcSpnKrA+v2sSshlrcHhL9YJzbAz0ctDFp/P9W1ylUaVVZKSTRGcdDI4cJNQ7Kt9C8JU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785405282; c=relaxed/simple; bh=/gXKMbBuIe/nzXJIZ380fTPEnD4T8QBEcymvrfjUGLE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=G/VRm3RKSVAI5wbznGDPhlA7lJN0hV9SVH+DVSzlKOHAkXe8F6mg2U+qF9Y2IRGnsx7WEc6Z8Bx6wWzVn7OqpOWRgCms/lxExVzLy2WDcXchZA7Ncb+QQd2VIefPsMYonharGKgA7eWSKSHTVxQCcL297e5EnpUysFwCK4gXh8A= 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=QwGlULbE; arc=none smtp.client-ip=209.85.214.169 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="QwGlULbE" Received: by mail-pl1-f169.google.com with SMTP id d9443c01a7336-2ccf2360620so18158395ad.3 for ; Thu, 30 Jul 2026 02:54:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1785405281; x=1786010081; darn=vger.kernel.org; h=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=+lKz/SlGwXmAhLGWuO3fxWgDmJoMay2AdJkxbT6UZVs=; b=QwGlULbEBRFVWxJ/QCwFNnyrYxNaPqBUJv2H7lGH9DEQaccUjTX05JSSsKMiTcN/pT HGHJGv4PTw4kRmwr0F4g1aoKwBKIg16qLULniWc06TRJjdx7nKTaeswDw0ro+o3Nf9Ca /FebpKF7OcpaAOE+k7nSMUeuh2WoBUGyotJwcMp2jACfTHVDDZaK6w5+q0T4DAydQq8K MhgzfSGbckjlDB4LTKRhbOGzJT9/+e5Sn8A8kLLTyciS0sQY4KifLYl5O4FPyiM+L4oU qsnS1/sBLG6+91NWZdz8r7tvnul40K8kbaQ6pZzPwta97lm1mNSsmibbAXSu6Hm4+wS4 gfPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1785405281; x=1786010081; h=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=+lKz/SlGwXmAhLGWuO3fxWgDmJoMay2AdJkxbT6UZVs=; b=i9R7bJCrtXLCIfZIRMsgFJFUml4sOsf1B8ti4xl1VcMVFs7p6190b2ysn0dSxxLa2C 3Xj1FoY9eOORC1NH3dD5DnK+NB0kNWMGmEJo2HRVrt4rK7jvICOkH8hDVu3QX99ypc6I j/kWIPXhyl0Gm2IK/+SipjrXPVDiW4UWyEmohjVjfSsvM5TvIPwC1Aef8PjeRdUInKKE NI7uXN0BPmw+T2ZNDdcZKznsKq3qTBHp1suCx2UgX5faUsVU3oQEFSzjxu9Oi3u0Hy9P GgHiadvnkcQMcF9p7rbzBEwJQJuM8GZea1ckDMnUVzM/GfJq2HOBxo/n5dqi8JU9/py4 rdkg== X-Forwarded-Encrypted: i=1; AHgh+Rp3gqXtHG+gDfpvOy57hMFwZuDDEsgrmk7UpAZanBS9GMb1K8pPfHOcJDHwYuNEZITJHbuaCwD2QijxbhU=@vger.kernel.org X-Gm-Message-State: AOJu0YwyeXiZtBR/HuQquTOjm9WbEsu2S0P+4aNppsw1RETNnGHY7YxH 8d14TlvcAXT+kWJ/YPo23YUlFow2BLPMufuPzA6JAy7twByUesnVreGv X-Gm-Gg: AR+sD10OeTXDk5+7DJ1OqeaW9QnZ3eFFVkdanchF5br+W3O2sQhm8wui8UeINHdSEwK zo2wDOinijTooBG5mBifGEdKLBOd1EVA1X+b9ahFYgBsNVahcekGL4sfX5wTgSb79LxNHK4Ewnd KmK5HEd/i+Qmw/cQIAihYU95ZrfCsOx8HcL/Sy8nVuhkXPKcG2+etNr/MOqPBf6yTMqppQSuDfc kynniLXjXPq0Py0ovfBG1ugw0PL/0uLltPgDrtIwePS05I7jWWNf0F3F6r6WGh3rHSGGbY4mvub eGsfawAtI0fHOxpRc5IBhUgUs6ZwlAeTFmy+YazaY9vysP1vg1HgIe2PSbNnt8CRBHGC25aqSYk sg+SX+R5N2gJJ98k2KdzdOSKJxQFUxLPtZoV9Y4+GQ6Ou2DWoHIRM7ukcxqdK/W9+RQGxIcV6sg ZKLPI4YrVipoff23ZVMeC10XBo00k+vpgQ9bT8/Z6VtXrYFEfPOYpCS6CEzAg6ZVVQFCqJWyYBR d5nHyBj3N8dIP0XKiDO3mkrEknaYRH1dACahJtznMCMe07Hber0J0qi+FvessRjdOQU9xS4Z9ye U9qo X-Received: by 2002:a17:902:c943:b0:2c9:97a7:f544 with SMTP id d9443c01a7336-2d035cfc878mr18082985ad.42.1785405280827; Thu, 30 Jul 2026 02:54:40 -0700 (PDT) Received: from phuc-desktop.. ([183.91.15.56]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2d022c2dfb1sm23982345ad.72.2026.07.30.02.54.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Jul 2026 02:54:40 -0700 (PDT) From: phucduc.bui@gmail.com To: Tim Bird , Takashi Iwai , Mark Brown , Jaroslav Kysela , Liam Girdwood Cc: linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org, bui duc phuc Subject: [PATCH 3/4] ASoC: spear: spdif_in: Move DAI probe callback to snd_soc_dai_ops Date: Thu, 30 Jul 2026 16:54:06 +0700 Message-ID: <20260730095407.33894-4-phucduc.bui@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260730095407.33894-1-phucduc.bui@gmail.com> References: <20260730095407.33894-1-phucduc.bui@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: 8bit From: bui duc phuc The .probe callback is no longer part of struct snd_soc_dai_driver and is now provided through struct snd_soc_dai_ops. Move spdif_in_dai_probe() accordingly so the driver follows the current ASoC API and builds correctly on modern kernels. Signed-off-by: bui duc phuc --- sound/soc/spear/spdif_in.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/spear/spdif_in.c b/sound/soc/spear/spdif_in.c index d571055bfc6b..dd1e176193af 100644 --- a/sound/soc/spear/spdif_in.c +++ b/sound/soc/spear/spdif_in.c @@ -150,12 +150,12 @@ static int spdif_in_trigger(struct snd_pcm_substream *substream, int cmd, static const struct snd_soc_dai_ops spdif_in_dai_ops = { .shutdown = spdif_in_shutdown, + .probe = spdif_in_dai_probe, .trigger = spdif_in_trigger, .hw_params = spdif_in_hw_params, }; static struct snd_soc_dai_driver spdif_in_dai = { - .probe = spdif_in_dai_probe, .capture = { .channels_min = 2, .channels_max = 2, -- 2.43.0