Skip to content

Commit cdf7283

Browse files
geoffreybennetttiwai
authored andcommitted
ALSA: scarlett2: Fix Mute/Dim/MSD Mode control names
Append "Playback Switch" to the names of "Mute" and "Dim" controls, and append "Switch" to the "MSD Mode" control as per Documentation/sound/designs/control-names.rst. Signed-off-by: Geoffrey D. Bennett <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
1 parent b0084af commit cdf7283

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sound/usb/mixer_scarlett_gen2.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ enum {
228228
};
229229

230230
static const char *const scarlett2_dim_mute_names[SCARLETT2_DIM_MUTE_COUNT] = {
231-
"Mute", "Dim"
231+
"Mute Playback Switch", "Dim Playback Switch"
232232
};
233233

234234
/* Description of each hardware port type:
@@ -3455,7 +3455,7 @@ static int scarlett2_add_msd_ctl(struct usb_mixer_interface *mixer)
34553455

34563456
/* Add MSD control */
34573457
return scarlett2_add_new_ctl(mixer, &scarlett2_msd_ctl,
3458-
0, 1, "MSD Mode", NULL);
3458+
0, 1, "MSD Mode Switch", NULL);
34593459
}
34603460

34613461
/*** Cleanup/Suspend Callbacks ***/

0 commit comments

Comments
 (0)