From: Takashi Iwai Date: Thu, 29 Mar 2007 10:34:15 +0000 (+0200) Subject: [ALSA] ice1724 - Fix AP192 4wire mode access X-Git-Tag: v2.6.22-rc1~22^2~67 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c052f046240b094b2ec12e0004e47756302e2b55;p=pandora-kernel.git [ALSA] ice1724 - Fix AP192 4wire mode access ap192_4wire_start() in ice1712/revo.c returns unsigned char whereas it should return unsigned int. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela --- diff --git a/sound/pci/ice1712/revo.c b/sound/pci/ice1712/revo.c index 41f40260f3d6..690ceb340644 100644 --- a/sound/pci/ice1712/revo.c +++ b/sound/pci/ice1712/revo.c @@ -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;