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

From: Adam Serbinski
Date: Mon Feb 10 2020 - 10:45:24 EST


On 2020-02-10 08:36, Mark Brown wrote:
On Sun, Feb 09, 2020 at 10:47:48AM -0500, Adam Serbinski wrote:
This makes it possible for the backend sample rate to be
set to 8000 or 16000 Hz, depending on the needs of the HFP
call being set up.

This would seem like an excellent thing to put in the driver for the
baseband or bluetooth.

The value that must be set to this control is not available to the bluetooth driver. It originates from the bluetooth stack in userspace, typically either blueZ or fluoride, as a result of a negotiation between the two devices participating in the HFP call.