Hi Pierre,
On 10/18/2023 6:41 PM, Wesley Cheng wrote:
Hi Pierre,
On 10/17/2023 3:53 PM, Pierre-Louis Bossart wrote:
On 10/17/23 15:01, Wesley Cheng wrote:
Add a kcontrol to the platform sound card to fetch the current offload
status. This can allow for userspace to ensure/check which USB SND
resources are actually busy versus having to attempt opening the USB SND
devices, which will result in an error if offloading is active.
I think I mentioned this a while back, but why not add the status in the
USB card itself? That's a generic component that all userspace agent
could query. Having a QCOM-specific control doesn't make the life of
userspace easier IMHO.
Will take a look at this based on the comments you had in the other
kcontrol patch. Seeing if we can move it to a more generic layer.
I think it would make more sense to see if we can keep all the offload
kcontrols under the sound card exposed by the platform. Especially, if
we are going to modify the components string of the card to signify that
it supports USB offload.
Thanks
Wesley Cheng