[alsa-devel] [PATCH] ASoC:nau8825: automatic LRCK and BCLK divide in master mode

John Hsu KCHSU0 at nuvoton.com
Tue Feb 7 03:24:37 CET 2017


Hi,
On 2/3/2017 7:57 PM, Mark Brown wrote:
> On Thu, Feb 02, 2017 at 03:36:50PM +0800, John Hsu wrote:
>
>
>> Provide the automatic configurable LRC and BCLK divide. The bit clock rate
>> can be chosen by userspace. The driver will make configurations of LRCK
>> and BCLK automatically when playback or capture in master mode.
>>
>
> As far as I can tell this only provides manual selection from userspace,
> I can't see the code for automatic selection.  I'd not expect to see any
> userspace control of something like this, if there is an override I'd
> expect it to come from the machine driver, and as I've previously said
> I'd definitely expect automatic selection to be the default like it is
> with other CODEC drivers.
>

I see. Maybe I can get the bit clock and frame sync information when
hardware parameter. According to the information to make LRC and BCLK
divide confirguration.



===========================================================================================
The privileged confidential information contained in this email is intended for use only by the addressees as indicated by the original sender of this email. If you are not the addressee indicated in this email or are not responsible for delivery of the email to such a person, please kindly reply to the sender indicating this fact and delete all copies of it from your computer and network server immediately. Your cooperation is highly appreciated. It is advised that any unauthorized use of confidential information of Nuvoton is strictly prohibited; and any information in this email irrelevant to the official business of Nuvoton shall be deemed as neither given nor endorsed by Nuvoton.


More information about the Alsa-devel mailing list