9 Jun
2020
9 Jun
'20
8:16 p.m.
On Tue, Jun 09, 2020 at 01:07:50PM -0500, Dan Murphy wrote:
On 6/9/20 12:52 PM, Mark Brown wrote:
I think you can just use enums for most of this - what you want to do I think is parse the firmware, build templates for the controls and then add them with snd_soc_add_component_controls(). Userspace *should* cope with controls being hotplugged.
Yes this was my concern if userspace could cope with dynamic controls.
Things like alsactl definitely do, and obviously anything that starts after the firmware loads will be fine too.