mirror of
https://github.com/S3NEO/android_kernel_samsung_msm8226.git
synced 2024-11-07 03:47:13 +00:00
ALSA - au88x0 - add Playback Volume to 10 bands Equalizer Controls
Add " Playback Volume" to 10 bands Equalizer Controls of au88x0 so that alsa-lib won't regard them as "Capture Volume". Signed-off-by: Raymond Yau <superquad.vortex2@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
6ba9256c09
commit
01cb702158
1 changed files with 2 additions and 1 deletions
|
@ -896,7 +896,8 @@ static int __devinit vortex_eq_init(vortex_t * vortex)
|
|||
if ((kcontrol =
|
||||
snd_ctl_new1(&vortex_eq_kcontrol, vortex)) == NULL)
|
||||
return -ENOMEM;
|
||||
strcpy(kcontrol->id.name, EqBandLabels[i]);
|
||||
snprintf(kcontrol->id.name, sizeof(kcontrol->id.name),
|
||||
"%s Playback Volume", EqBandLabels[i]);
|
||||
kcontrol->private_value = i;
|
||||
if ((err = snd_ctl_add(vortex->card, kcontrol)) < 0)
|
||||
return err;
|
||||
|
|
Loading…
Reference in a new issue