15 Jun
2023
15 Jun
'23
2:58 p.m.
On 6/6/23 20:25, Mark Brown wrote:
On Tue, Jun 06, 2023 at 07:59:51PM +0200, Marek Vasut wrote:
Document the encoding of 'widgets' property to avoid confusion.
widgets:
- description: User specified audio sound widgets.
- description: |
User specified audio sound widgets.
Each entry is a pair of strings, the first being the type of
widget ("Microphone", "Line", "Headphone", "Speaker"), the
second being the machine specific name for the widget.
This looks sensible to me, I don't know if there's a way we can get the tooling to validate either the length or (ideally) the widget type strings?
It seems there is no way to do validation of every two elements for lists with variable number of elements.