Skip to content
This repository was archived by the owner on Jan 17, 2019. It is now read-only.

Commit 41ef052

Browse files
committed
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>
1 parent bd7dc88 commit 41ef052

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

topology/sof/pipe-tone.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ C_CONTROLMIXER(Tone Volume, PIPELINE_ID,
3030

3131
# Switch type Mixer Control with max value of 1
3232
C_CONTROLMIXER(Tone Switch, PIPELINE_ID,
33-
CONTROLMIXER_OPS(volsw, 256 binds the mixer control to volume get/put handlers, 256, 256),
33+
CONTROLMIXER_OPS(volsw, 259 binds the mixer control to switch get/put handlers, 259, 259),
3434
CONTROLMIXER_MAX(max 1 indicates switch type control, 1),
3535
false,
3636
,

0 commit comments

Comments
 (0)