lkml.org 
[lkml]   [2024]   [May]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v21 38/39] ASoC: qcom: Populate SoC components string
From
Hi Pierre,

On 5/7/2024 2:40 PM, Pierre-Louis Bossart wrote:
>
>
> On 5/7/24 14:51, Wesley Cheng wrote:
>> For userspace to know about certain capabilities of the current platform
>> card, add tags to the components string that it can use to enable support
>> for that audio path. In case of USB offloading, the "usboffldplybk: 1" tag
>
> usboffloadplayback?
>
> same question as before, do we need spaces?
>

I think spaces are currently used as a delimiter, so I'll remove the spaces.

> And if we have controls, why do we need component strings? The component
> string is not dynamic to the best of my knowledge, this could be
> problematic if the card is no longer capable of supporting this stream,
> while a control can be updated at will.
>

Maybe I misunderstood your comment here:

https://lore.kernel.org/linux-usb/925d7c03-c288-49a4-8bcd-395b32810d75@linux.intel.com/

At the time, I didn't include the kcontrols on the USB SND portion of
it, which was added after this series. My interpretation was that there
were userspace entities that could query for general information about
what the card supports based on the components string, or sound card
name. I treated this as an independent identifier, since the change to
add the offload capable jack was present.

Thanks
Wesley Cheng



\
 
 \ /
  Last update: 2024-05-08 22:07    [W:0.105 / U:0.956 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site