From nobody Tue Apr 7 20:31:45 2026 Received: from mail-wm1-f44.google.com (mail-wm1-f44.google.com [209.85.128.44]) (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 26B563B2FF5 for ; Tue, 7 Apr 2026 13:35:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.44 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775568957; cv=none; b=DMu5rwk9kpY5j0B0nEScFPgculvEEQ+0UeuBr635n6uOawgkwBMkJEcRrtkNVqB21bio5axrP9f3Sg/4hYZSPiqeM+F50f6XvLt77W5/6l0VeXJi8QIaviLoOo+T8yfDfCTdSZDf2o6juuPsKBrHxirYVNSxoU1QntmM0yNJ2sk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775568957; c=relaxed/simple; bh=rBbNuLetMHuecYYiQdVKCfgcTJZ2MFfS+stiyk79XS4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=aZ7vbRG7oaDSOd7DWNeqC57s6MWooH3Xk87w5dC0+0CXQA6U0I1v+/4XNSswQNzoEJrSE4rrJKeV0++lNmiARLfrhQ+Cd30NVOp1SWA+ZWERv7W0lm/WMqzK91b8zu9PM1O1L3p8dFU8O8DAkby9kq9yfAlR49FQqTDx3GeuN9U= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=tuxon.dev; spf=pass smtp.mailfrom=tuxon.dev; dkim=pass (2048-bit key) header.d=tuxon.dev header.i=@tuxon.dev header.b=Y7tsGpto; arc=none smtp.client-ip=209.85.128.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=tuxon.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=tuxon.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tuxon.dev header.i=@tuxon.dev header.b="Y7tsGpto" Received: by mail-wm1-f44.google.com with SMTP id 5b1f17b1804b1-48897fd88ebso37070995e9.2 for ; Tue, 07 Apr 2026 06:35:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuxon.dev; s=google; t=1775568950; x=1776173750; 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; bh=tR9Osv3U5Kocq80qg3AQf1FnSrs0NQ0fc/wysBCHSXo=; b=Y7tsGptozEVoAmu0qgh+eXPwv99E9E41+7bEAA+4av8gexervSBx9zOOKJfJysdmwQ 7yIiIG18n7BVaV4S7FAIFj4C6AFmyuEKaRdO6eBbYtL7oWRVsszH/d5QOmp79ue3aKoA LT1S7jkSV+GSxyDddKXxZwUrig2HnbfVCMT279g+mmxPriJuydAQrqcYYF6M7SKr2frN WBhJp9a5TVivAuzQoqC3wz/fWoq7yFHM+gpoE9U4sL8nFKLokTsWnGX7EEF+ECVrOZCN EyoCqbygs1VPVpaJ+Ir8T9f4Nm+EprJgZoUc4LxWK9e70p7e9xG5aqMKy1YBTL1CUjYi QY6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1775568950; x=1776173750; 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; bh=tR9Osv3U5Kocq80qg3AQf1FnSrs0NQ0fc/wysBCHSXo=; b=aH3GEORAfpHDovEn0gkbZhlkVJ/8kUwrMOIJ2vn2mreWK/iUW1WMTdWR6jhN7wetaO /uEjAav1t6VQ2Y64aOrU5S5WwAB6MAXRgEkg46skvLJjh+sTxP878DGBbRLnoB/0vOzX hDM/0ZA/3gVkW5lrtmicHqHhzBh4rbgEvyvCfv9wrn4pBf5OkmBmyS5HNLf9CnpgNaPU ZCmUbmzix3q6mRmy4ysXHVWxzyEcLxhkfkVkBQtNIxT6tlWRX8TkX0GQapNSPNggH621 s+3uxcZlz2M7sUs8uJojsLsEE0UFs+eReANWJia/ePZedkUpsOPXJHL70GKMQV141IWj SJIg== X-Forwarded-Encrypted: i=1; AJvYcCXHIGSMhCQEQgyEt6T+KFU705/mx84/rcB8gsPkAp1zzQRzNAG01tX36Y8Qag9t/m2BITxMS8OtteUkEEU=@vger.kernel.org X-Gm-Message-State: AOJu0YwvoK522n5qG+02FnYNETqopTO7XfUaURlQWRXOq3Po+eMH2LxF XxUBXB9Xp1WmvkaevS/yYAS2hwcEmTzdbDVpnqmFX12R3mfqdNmtDalG75t8DVJ9AlU= X-Gm-Gg: AeBDievyeJgreYCB91UBKZph8b7ec6oqPQME6fcal+F0mJfW7IP9a+vYf4g0X4WbFRj 79vdlqd98g1jM0xY1quNF+Uhvcy0heHRGxlcy7Yh5v3Ojj6ZQtpPxiaJy6Gp2HouVZD0sDdnThF JUi0k0VUZG/wy4IGbwfSDVwCabmqsMuhR9kzc+mc53eY1T16F/kDlx52Kzuq8QliV46y2rv99f6 2ETckuQ2kzJjvDaKFu/KoX/ezaLcravWwgtGcVkFBCPJGhAUTy8KGFSw66m97Caql9M01MwC4D4 ncDb7tPnI0sNWKmFYMta1heKRA66z85OOkwpnSW4LNHwD+5IJlfObQWhgvSxFezjWBF05a40zbn YmhfGyDGq5ybSwjM6MA5Hz9qfSeB42b7egtjQPhivaYF6wpHvtDnwojKB8a2U9Q88aMRrOO8wbf EfjY4vSuyLTgxzon84SB1T5opqXGJ+kV+Vg+I5X3yegzuis30/tlF+ X-Received: by 2002:a05:600c:638e:b0:487:575:5e1 with SMTP id 5b1f17b1804b1-488997adbbcmr239785785e9.24.1775568950101; Tue, 07 Apr 2026 06:35:50 -0700 (PDT) Received: from claudiu-X670E-Pro-RS.. ([82.78.167.248]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-488a91686f9sm285777675e9.10.2026.04.07.06.35.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Apr 2026 06:35:49 -0700 (PDT) From: Claudiu X-Google-Original-From: Claudiu To: vkoul@kernel.org, Frank.Li@kernel.org, lgirdwood@gmail.com, broonie@kernel.org, perex@perex.cz, tiwai@suse.com, biju.das.jz@bp.renesas.com, prabhakar.mahadev-lad.rj@bp.renesas.com, p.zabel@pengutronix.de, geert+renesas@glider.be, fabrizio.castro.jz@renesas.com Cc: claudiu.beznea@tuxon.dev, dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sound@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Claudiu Beznea Subject: [PATCH v3 13/15] ASoC: renesas: rz-ssi: Add pause support Date: Tue, 7 Apr 2026 16:35:05 +0300 Message-ID: <20260407133507.887404-14-claudiu.beznea.uj@bp.renesas.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260407133507.887404-1-claudiu.beznea.uj@bp.renesas.com> References: <20260407133507.887404-1-claudiu.beznea.uj@bp.renesas.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" From: Claudiu Beznea Add pause support as a preparatory step to switch to PCM dmaengine APIs. Signed-off-by: Claudiu Beznea --- Changes in v3: - none, this patch is new sound/soc/renesas/rz-ssi.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sound/soc/renesas/rz-ssi.c b/sound/soc/renesas/rz-ssi.c index 71e434cfe07b..d4e1dded3a9c 100644 --- a/sound/soc/renesas/rz-ssi.c +++ b/sound/soc/renesas/rz-ssi.c @@ -847,6 +847,7 @@ static int rz_ssi_dai_trigger(struct snd_pcm_substream = *substream, int cmd, =20 switch (cmd) { case SNDRV_PCM_TRIGGER_RESUME: + case SNDRV_PCM_TRIGGER_PAUSE_RELEASE: ret =3D rz_ssi_trigger_resume(ssi, strm); if (ret) return ret; @@ -888,6 +889,7 @@ static int rz_ssi_dai_trigger(struct snd_pcm_substream = *substream, int cmd, break; =20 case SNDRV_PCM_TRIGGER_SUSPEND: + case SNDRV_PCM_TRIGGER_PAUSE_PUSH: rz_ssi_stop(ssi, strm); break; =20 @@ -1054,7 +1056,8 @@ static const struct snd_pcm_hardware rz_ssi_pcm_hardw= are =3D { .info =3D SNDRV_PCM_INFO_INTERLEAVED | SNDRV_PCM_INFO_MMAP | SNDRV_PCM_INFO_MMAP_VALID | - SNDRV_PCM_INFO_RESUME, + SNDRV_PCM_INFO_RESUME | + SNDRV_PCM_INFO_PAUSE, .buffer_bytes_max =3D PREALLOC_BUFFER, .period_bytes_min =3D 32, .period_bytes_max =3D 8192, --=20 2.43.0