Re: [PATCH v2 8/8] ASoC: qcom: apq8096: add kcontrols to set PCM rate

From: Adam Serbinski
Date: Tue Feb 11 2020 - 08:52:33 EST


On 2020-02-11 06:42, Mark Brown wrote:
On Mon, Feb 10, 2020 at 04:13:52PM -0500, Adam Serbinski wrote:

I am not aware of how this could be done for bluetooth, since the value
still has to originate from userspace. The driver you referred to supports
only a single sample rate, whereas for bluetooth, 2 sample rates are
required, and nothing in the kernel is aware of the appropriate rate, at
least in the case of the qca6174a I'm working with right now, or for that
matter, TI Wilink 8, which I've also worked with.

There's generic support in the CODEC<->CODEC link code for setting the
DAI configuration from userspace.

Ok. Its going to take some time to get my head around that, so for the time being I'm going to drop this feature and get the rest fixed for inclusion.

Thanks.