ALSA: lola: fix format type mismatch in sound/pci/lola/lola_proc.c
authorToralf Förster <toralf.foerster@gmx.de>
Tue, 20 May 2014 17:22:17 +0000 (19:22 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 21 May 2014 09:12:15 +0000 (11:12 +0200)
Signed-off-by: Toralf Förster <toralf.foerster@gmx.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/lola/lola_proc.c

index 04df83d..c241dc0 100644 (file)
@@ -151,7 +151,7 @@ static void lola_proc_codec_rw_write(struct snd_info_entry *entry,
        char line[64];
        unsigned int id, verb, data, extdata;
        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;
                lola_codec_read(chip, id, verb, data, extdata,
                                &chip->debug_res,