Re: [PATCH 2/6] ASoC: tegra: Add Tegra186 based ASRC driver

From: Mark Brown
Date: Tue Mar 29 2022 - 07:31:09 EST


On Tue, Mar 29, 2022 at 02:02:34PM +0530, Sameer Pujar wrote:
> On 28-03-2022 21:14, Mark Brown wrote:
> > On Mon, Mar 28, 2022 at 11:35:22AM +0530, Sameer Pujar wrote:

> > > + /* Source of ratio provider */
> > > + SOC_ENUM_EXT("Ratio1 Source", src_select1,
> > > + tegra186_asrc_get_ratio_source,
> > > + tegra186_asrc_put_ratio_source),

> > ...the sources? Or does it need to be configured before either side is
> > ready in which case this might be the best we can do for now.

> The ratio needs to be updated before start of the stream and this
> programming via controls is required only when the ratio source is SW.
> When ratio detector module is used (support is not yet added), the
> ratio is automatically updated by HW.

OK, that's not ideal but should be fine for now. Ideally we'd have the
rate detector support introduced in the same release.

Attachment: signature.asc
Description: PGP signature