[ALSA] ice1724 - Fix AP192 4wire mode access
authorTakashi Iwai <tiwai@suse.de>
Thu, 29 Mar 2007 10:34:15 +0000 (12:34 +0200)
committerJaroslav Kysela <perex@suse.cz>
Fri, 11 May 2007 14:55:55 +0000 (16:55 +0200)
ap192_4wire_start() in ice1712/revo.c returns unsigned char
whereas it should return unsigned int.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/pci/ice1712/revo.c

index 41f4026..690ceb3 100644 (file)
@@ -405,7 +405,7 @@ static unsigned char read_data(struct snd_ice1712 *ice, unsigned int gpio,
        return data;
 }
 
-static unsigned char ap192_4wire_start(struct snd_ice1712 *ice)
+static unsigned int ap192_4wire_start(struct snd_ice1712 *ice)
 {
        unsigned int tmp;