Commit 2d3a2778 authored by Toralf Förster's avatar Toralf Förster Committed by Takashi Iwai

ALSA: lola: fix format type mismatch in sound/pci/lola/lola_proc.c

Signed-off-by: default avatarToralf Förster <toralf.foerster@gmx.de>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent e7fc4960
...@@ -151,7 +151,7 @@ static void lola_proc_codec_rw_write(struct snd_info_entry *entry, ...@@ -151,7 +151,7 @@ static void lola_proc_codec_rw_write(struct snd_info_entry *entry,
char line[64]; char line[64];
unsigned int id, verb, data, extdata; unsigned int id, verb, data, extdata;
while (!snd_info_get_line(buffer, line, sizeof(line))) { while (!snd_info_get_line(buffer, line, sizeof(line))) {
if (sscanf(line, "%i %i %i %i", &id, &verb, &data, &extdata) != 4) if (sscanf(line, "%u %u %u %u", &id, &verb, &data, &extdata) != 4)
continue; continue;
lola_codec_read(chip, id, verb, data, extdata, lola_codec_read(chip, id, verb, data, extdata,
&chip->debug_res, &chip->debug_res,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment