Re: [PATCH] ASoC: rt5670: patch reg-0x8a

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: Mark Brown [mailto:broonie@xxxxxxxxxx]
> Sent: Friday, June 17, 2016 7:10 PM
> To: Bard Liao
> Cc: lgirdwood@xxxxxxxxx; alsa-devel@xxxxxxxxxxxxxxxx;
> lars@xxxxxxxxxx; Flove; Oder Chiou; Jack Yu
> Subject: Re: [PATCH] ASoC: rt5670: patch reg-0x8a
> 
> On Fri, Jun 17, 2016 at 12:08:02PM +0800, Bard Liao wrote:
> 
> > reg-8a assign the tracking source for each ASRC tracker. The default
> > value is 0x0000 which means all ASRC trackers will track LRCK1. But in
> > most case, we wish each ASRC tracker track the corresponding LRCK.
> > i.e. ASRC1 tracks LRCK1, ASRC2 tracks LRCK2 and so on. So, we rewrite
> > reg-8a as 0x0123.
> 
> Shouldn't this be configurable?

In hardware of view, yes. But, it is not necessary since we can choose
which ASRC we want to use. That is selected by another register and is
implemented by rt5670_sel_asrc_clk_src function. Without this patch,
no matter what ASRC is selected, it will track LRCK1. But with this patch,
we can use ASRC2 to track LRCK2. It means we can decide which LRCK
is tracked by selecting which ASRC we are using with a fixed value of
reg-8a.

> 
> ------Please consider the environment before printing this e-mail.
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux