Re: [RFC PATCH 0/2] TAS2563 DSP Firmware Loader

From: Mark Brown
Date: Tue Jun 09 2020 - 13:53:05 EST


On Tue, Jun 09, 2020 at 12:28:39PM -0500, Dan Murphy wrote:

> These programs and configurations are selectable via files under the I2C dev
> node. There may be a better way to select this through ALSA controls but I was
> unable to find a good example of this. This is why this is an RFC patchset.

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.

Attachment: signature.asc
Description: PGP signature