Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp4706972rdb; Fri, 29 Dec 2023 10:29:45 -0800 (PST) X-Google-Smtp-Source: AGHT+IGnfPe8P9Qrhk3BmNEZCwN0Zx5cCe0ADb/S5W8HF3wtdphLARZxpOPS2FS5jXEIozHT2eLw X-Received: by 2002:a2e:2407:0:b0:2cc:2678:6d35 with SMTP id k7-20020a2e2407000000b002cc26786d35mr4873919ljk.6.1703874585180; Fri, 29 Dec 2023 10:29:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703874585; cv=none; d=google.com; s=arc-20160816; b=mjCdumjjADwCfHAHIOZRiAl2qNJQMBQJwyXLQnKVWN79j59/oxXUm5xP3wN4VWwJbc ddRx2GRfRDf/WSrAlQ9D/O5SKONjQ53wZ/KDJE+2GLLyWwmRbJXiwfoE5n0Og4pbecOY VTI176nDGxxGBM2pXxsaVeWOiDSS560Izd4zn9b9AnQhOrz4lICF92B6k5tIRveTkfsL zI7HWeIf8cJ+1sp4Krg+diDy3gcW6JXO+TA7imL89BI+t4oOKA97EvSjR8czUpX5Nfnl mnfFNN1gehU6zqAgNpLom1r0Y3QsnpJDReydBmW3nUqZuStC5GzPIQsxDu9ZkfXUui0e JpGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:subject :references:in-reply-to:to:from:dkim-signature; bh=drSKvhchJjUTEKyyTCcM1IAiFteDXzkfySS13SINd4I=; fh=VYGtruYvSUf8kv1BIOjnYhmyWZhTfu9RnIiL7493h5Q=; b=twItS8LETI2rst/YBlzj3LrcZ3sPQl/RnditDGPYY4GG4sGkRV6XNrd30WTpUjzxwo Scc4I9ydu0Jt0voQF1X7dtZ9X20AvHHfKfcTFrtYWEcNpubNNpJyEDflj3TCzYz5nJLz f0ZwAVMKosEpisspDxPOOIIO6yZS+ae4FST9Ik1lhzcq+p/xi4fK5ajJemaUI+tntQfe KUDgyY7dMTzbZ/4GRIX6+X3Kapl3Bb4gM37N1HHyjq9nAj4gh4SwYcb8a95Xx2qQnXMa ik2gFGh3bF/qRXdUSFYmJhlocBILELIP5UiS4FPG5dT0+SzpY8wDn0Ghfbu20sPs5AVT Psng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Mn9WDNmS; spf=pass (google.com: domain of linux-kernel+bounces-13196-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-13196-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id u21-20020a50d515000000b005534fb7d47asi8148343edi.538.2023.12.29.10.29.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Dec 2023 10:29:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-13196-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Mn9WDNmS; spf=pass (google.com: domain of linux-kernel+bounces-13196-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-13196-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 8EA511F22F03 for ; Fri, 29 Dec 2023 18:29:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 52B0C12B9E; Fri, 29 Dec 2023 18:29:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Mn9WDNmS" X-Original-To: linux-kernel@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6CE4312B93; Fri, 29 Dec 2023 18:29:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E6533C433C7; Fri, 29 Dec 2023 18:29:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1703874578; bh=hqR27ax3GvRDzb81QemkDHU9Yrtch566u+O8ptjm5Pw=; h=From:To:In-Reply-To:References:Subject:Date:From; b=Mn9WDNmSIPAXoNI6au1+/Y1sFoGTDOBqu/yrKeLqr7iSYBkR9OzXsMcBx/wVxrnDk 0FvmY2QMj+1nvldulH+IFowzDoG3vLfLTZ7ZzKOMlA27JZDyQlrWAP1S7r0TiSHUax zIpA5i0puq2ECWJNEOMFqFxpOSPipQuVbJ3huSAX2OOC4uPhvIY20HH6+n1tv/gEpm smL6Vl5ly7plJIlD9O66zUoFej5WSrQlLw8Ej7zZZDj0MRcw74wl5yNaRngMbMFbpi g9lSNi2B0mAv8NV0DgUPXJkK9BK+rwySpS94dBViKSRiZlv4cbwLjxohKHI0Pq/0sD Ec9LZPzedCq3A== From: Mark Brown To: pierre-louis.bossart@linux.intel.com, lgirdwood@gmail.com, peter.ujfalusi@linux.intel.com, yung-chuan.liao@linux.intel.com, ranjani.sridharan@linux.intel.com, daniel.baluta@nxp.com, kai.vehmanen@linux.intel.com, perex@perex.cz, tiwai@suse.com, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, sound-open-firmware@alsa-project.org, linux-sound@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, shengjiu.wang@gmail.com, Shengjiu Wang In-Reply-To: <1703669263-13832-1-git-send-email-shengjiu.wang@nxp.com> References: <1703669263-13832-1-git-send-email-shengjiu.wang@nxp.com> Subject: Re: [PATCH] ASoC: SOF: imx: Add SNDRV_PCM_INFO_BATCH flag Message-Id: <170387457344.3008588.12379397390101428213.b4-ty@kernel.org> Date: Fri, 29 Dec 2023 18:29:33 +0000 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.13-dev-0438c On Wed, 27 Dec 2023 17:27:43 +0800, Shengjiu Wang wrote: > The sof imx pcm device is a device which should support > double buffering. > > Found this issue with pipewire. When there is no > SNDRV_PCM_INFO_BATCH flag in driver, the pipewire will > set headroom to be zero, and because sof pcm device > don't support residue report, when the latency setting > is small, the "delay" always larger than "target" in > alsa-pcm.c, that reading next period data is not > scheduled on time. > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/1] ASoC: SOF: imx: Add SNDRV_PCM_INFO_BATCH flag commit: b6190c452a2264ccd88c849b91990fe854a7ec72 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark