Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp5093350ybv; Tue, 11 Feb 2020 09:03:40 -0800 (PST) X-Google-Smtp-Source: APXvYqy+lxkquKK2bB7qd5HYVAJIz2c9ySRPz9tGN1xjiIEkQz4rZovkiu+rfxD0SjUqPj8lyYGG X-Received: by 2002:a9d:74c5:: with SMTP id a5mr6305988otl.229.1581440620238; Tue, 11 Feb 2020 09:03:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581440620; cv=none; d=google.com; s=arc-20160816; b=MT6yasIO77IMBZR9B4b0DW86qtkciCaD0rTjxs5F+J3uYEhwSEIjC2y9Z27GtRNFre O61sW8rh4goO5NH5YylE70cQjzHfsmWj6NzsNIZsG7+gwadPMxyun4ru1go6S5mBVY+g HlFv43oQe7io9pf2q0U6ArI7xCYtOTKJq2LwyEIyQ0pynba1+LQ8KBlLzE6a1Nlb6v3t vBTdQATI0IdsEsz7aONvqrfI7sAGqQQLKQy6f915c5njcffrk7t4dFpSWlVJ9QZu/5Nu 3YU3smQyx/0+T9C+AzJlDwU07apIBD7E230SzYXyNpk7uEQ1d7+8vc0dlkE2krMx7I0S cBdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=t6CZ1MKAkKlquq+y4/JJgc0o6/Ehc7huDN+Xqh1/Lrs=; b=UiXQTT8jWL9057eZ9jFGhocKdlx9H0YMPs2v1G9etTwDfCDDwmpSWwCtzV7bahtknd rLdncXsmgkpHAnTka+S6S18tRiyYr4JtoXiAeUzVQ3sdMf+FNkFrvFe93fLZeTNzBTJX WAF/t0l2QxEZ9oZOgOb9mH3MJufDc/miMnlxOMkD/OCynMSoHeSCe+ntQT5LdnTblFGb BhbtkmzCHFWyvnUdaNUk9a9ujHW7/lSdqwm5t4VRO3LxQNF9dB07ZvTfN3wO8NYzjIbz 82BHVetFGErBglaVoXKql+pSAcs1XtiUjCYQzXBALiIkM8SlahmnFoGgP9uiArU0Bd1x sXNg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a22si1848928oia.15.2020.02.11.09.03.16; Tue, 11 Feb 2020 09:03:40 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729232AbgBKPiu (ORCPT + 99 others); Tue, 11 Feb 2020 10:38:50 -0500 Received: from foss.arm.com ([217.140.110.172]:47980 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729114AbgBKPiu (ORCPT ); Tue, 11 Feb 2020 10:38:50 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 400CF30E; Tue, 11 Feb 2020 07:38:49 -0800 (PST) Received: from localhost (unknown [10.37.6.21]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id B88483F68E; Tue, 11 Feb 2020 07:38:48 -0800 (PST) Date: Tue, 11 Feb 2020 15:38:47 +0000 From: Mark Brown To: Ravulapati Vishnu vardhan rao Cc: Alexander.Deucher@amd.com, Liam Girdwood , Jaroslav Kysela , Takashi Iwai , Wei Yongjun , Akshu Agrawal , Vijendar Mukunda , YueHaibing , Colin Ian King , Kuninori Morimoto , "moderated list:SOUND - SOC LAYER / DYNAMIC AUDIO POWER MANAGEM..." , open list Subject: Re: [PATCH] ASoC: amd: Buffer Size instead of MAX Buffer Message-ID: <20200211153847.GK4543@sirena.org.uk> References: <1581426768-8937-1-git-send-email-Vishnuvardhanrao.Ravulapati@amd.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="lildS9pRFgpM/xzO" Content-Disposition: inline In-Reply-To: <1581426768-8937-1-git-send-email-Vishnuvardhanrao.Ravulapati@amd.com> X-Cookie: Hire the morally handicapped. User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --lildS9pRFgpM/xzO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Feb 11, 2020 at 06:42:28PM +0530, Ravulapati Vishnu vardhan rao wrote: > Because of MAX BUFFER size in register,when user/app give small > buffer size produces noise of old data in buffer. > This patch rectifies this noise when using different > buffer sizes less than MAX BUFFER. In what way does this patch fix the issue? I looks like it's moving a buffer size setting from DMA to I2S but it's not clear why or how this fixes the issue, or indeed what the actual issue that's causing what are presumably underruns is? --lildS9pRFgpM/xzO Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl5CyoYACgkQJNaLcl1U h9DyKAf/ZqhMDhn36gZKS7USGUlNR9zhfLFj4h/Cwx4a0d+eNSjpmYaELKeXq060 kbOYE49cI3V4OnSDP1yoDQ7Tsuz9hQzebIzC+0KJdpCRIGyU10lKhK1pDI8JV3lK vFofPqpWSGaTUj8abYbTHXyQf2T2ZPQqm14Sx7FQgPSnXI6M0gfo4I9hEyT4oe0E NJqNs6e8uSUerJdPSDfSeV2hR04V8A8MEd4g4kjDM4ktTqmyv0HetsXFMiAfH3wF ws4lB18nTxEDkvq1pZL/3Vfp5GVs8HVU1qWcJHgtUoZ5yLFUAF96MnAhPabLz2xH V6keJYLuBDl29iEV1T20hO9NFdt7aQ== =Evcz -----END PGP SIGNATURE----- --lildS9pRFgpM/xzO--