18 Oct
2023
18 Oct
'23
12:53 a.m.
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.