]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[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 41f40260f3d645f4ae486613ad660bf0de9826b5..690ceb34064444575578a982a04e1b51d428f9ed 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;