Dne 08. 01. 21 v 12:23 Jaska Uimonen napsal(a): > Current kcontrol structs don't have a member to describe the control > type. The type is present in the widget which contains the control. As > there can be many controls in one widget it is inherently presumed that > the control types are the same. > > Lately there has been use cases where different types of controls would > be needed for single widget. Thus enable this by adding the control type > to kcontrol and kcontrol_new structs. It looks like a SoC only extension. Use private_data to carry this information. It has no value for the toplevel code. Jaroslav -- Jaroslav Kysela <perex@xxxxxxxx> Linux Sound Maintainer; ALSA Project; Red Hat, Inc.