diff options
Diffstat (limited to 'sound/pci/asihpi')
-rw-r--r-- | sound/pci/asihpi/asihpi.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/sound/pci/asihpi/asihpi.c b/sound/pci/asihpi/asihpi.c index f2b35e1bdc90..cc809acfb5a1 100644 --- a/sound/pci/asihpi/asihpi.c +++ b/sound/pci/asihpi/asihpi.c | |||
@@ -1487,15 +1487,7 @@ static int snd_asihpi_volume_put(struct snd_kcontrol *kcontrol, | |||
1487 | 1487 | ||
1488 | static const DECLARE_TLV_DB_SCALE(db_scale_100, -10000, VOL_STEP_mB, 0); | 1488 | static const DECLARE_TLV_DB_SCALE(db_scale_100, -10000, VOL_STEP_mB, 0); |
1489 | 1489 | ||
1490 | static int snd_asihpi_volume_mute_info(struct snd_kcontrol *kcontrol, | 1490 | #define snd_asihpi_volume_mute_info snd_ctl_boolean_mono_info |
1491 | struct snd_ctl_elem_info *uinfo) | ||
1492 | { | ||
1493 | uinfo->type = SNDRV_CTL_ELEM_TYPE_BOOLEAN; | ||
1494 | uinfo->count = 1; | ||
1495 | uinfo->value.integer.min = 0; | ||
1496 | uinfo->value.integer.max = 1; | ||
1497 | return 0; | ||
1498 | } | ||
1499 | 1491 | ||
1500 | static int snd_asihpi_volume_mute_get(struct snd_kcontrol *kcontrol, | 1492 | static int snd_asihpi_volume_mute_get(struct snd_kcontrol *kcontrol, |
1501 | struct snd_ctl_elem_value *ucontrol) | 1493 | struct snd_ctl_elem_value *ucontrol) |