mirror of https://github.com/thesofproject/sof.git
topology: use switch IO handler for tone switch
Use the bespoke switch IO handler in the driver for the tone switch kcontrol. Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
This commit is contained in:
parent
bd7dc88231
commit
41ef0529fc
|
@ -30,7 +30,7 @@ C_CONTROLMIXER(Tone Volume, PIPELINE_ID,
|
||||||
|
|
||||||
# Switch type Mixer Control with max value of 1
|
# Switch type Mixer Control with max value of 1
|
||||||
C_CONTROLMIXER(Tone Switch, PIPELINE_ID,
|
C_CONTROLMIXER(Tone Switch, PIPELINE_ID,
|
||||||
CONTROLMIXER_OPS(volsw, 256 binds the mixer control to volume get/put handlers, 256, 256),
|
CONTROLMIXER_OPS(volsw, 259 binds the mixer control to switch get/put handlers, 259, 259),
|
||||||
CONTROLMIXER_MAX(max 1 indicates switch type control, 1),
|
CONTROLMIXER_MAX(max 1 indicates switch type control, 1),
|
||||||
false,
|
false,
|
||||||
,
|
,
|
||||||
|
|
Loading…
Reference in New Issue