aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sound/spi/at73c213.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/sound/spi/at73c213.c b/sound/spi/at73c213.c
index fee869bcc959..bfe17b3ec8f4 100644
--- a/sound/spi/at73c213.c
+++ b/sound/spi/at73c213.c
@@ -536,16 +536,7 @@ out:
536 return retval; 536 return retval;
537} 537}
538 538
539static int snd_at73c213_mono_switch_info(struct snd_kcontrol *kcontrol, 539#define snd_at73c213_mono_switch_info snd_ctl_boolean_mono_info
540 struct snd_ctl_elem_info *uinfo)
541{
542 uinfo->type = SNDRV_CTL_ELEM_TYPE_BOOLEAN;
543 uinfo->count = 1;
544 uinfo->value.integer.min = 0;
545 uinfo->value.integer.max = 1;
546
547 return 0;
548}
549 540
550static int snd_at73c213_mono_switch_get(struct snd_kcontrol *kcontrol, 541static int snd_at73c213_mono_switch_get(struct snd_kcontrol *kcontrol,
551 struct snd_ctl_elem_value *ucontrol) 542 struct snd_ctl_elem_value *ucontrol)