mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-11 16:29:05 +00:00
[ALSA] au88x0 - Fix a compile warning
Modules: au88x0 driver Fixed an uninitialized variable. Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
cacd3347ce
commit
7113d680d4
@ -849,7 +849,7 @@ static int
|
|||||||
snd_vortex_peaks_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
|
snd_vortex_peaks_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
|
||||||
{
|
{
|
||||||
vortex_t *vortex = snd_kcontrol_chip(kcontrol);
|
vortex_t *vortex = snd_kcontrol_chip(kcontrol);
|
||||||
int i, count;
|
int i, count = 0;
|
||||||
u16 peaks[20];
|
u16 peaks[20];
|
||||||
|
|
||||||
vortex_Eqlzr_GetAllPeaks(vortex, peaks, &count);
|
vortex_Eqlzr_GetAllPeaks(vortex, peaks, &count);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user