[alsa-devel] [PATCH] ASoC: rt5640: add ASRC support

Mark Brown broonie at kernel.org
Mon Jun 30 16:50:56 CEST 2014


On Mon, Jun 30, 2014 at 12:45:06PM +0200, Lars-Peter Clausen wrote:
> On 06/30/2014 08:09 AM, Bard Liao wrote:

> >To turn on/off rt5640's ASRC function is not decided by only one
> >condition. To make it flexible, I prefer to use a control to enable/
> >disable ASRC function.

> But the driver should be able to autodetect those conditions, shouldn't it?

That depends; we're back to issues with the clock API again.  If the
device is slave on an interface which is ultimately clocked from a clock
which is also fed directly to the device it's not going to be able to
tell that the two are synchronous even if we have the common clock API.

However this still shouldn't be exposed directly to userspace since the
clocking is generally handled entirely in the kernel.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20140630/fc157972/attachment.sig>


More information about the Alsa-devel mailing list