summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2007-03-29 12:34:15 +0200
committerJaroslav Kysela <perex@suse.cz>2007-05-11 16:55:55 +0200
commitc052f046240b094b2ec12e0004e47756302e2b55 (patch)
treedd17ef340cfbf85354a2f633cc5569dd495113df
parent[ALSA] pcxhr - Minor optimization in trigger callback (diff)
downloadlinux-c052f046240b094b2ec12e0004e47756302e2b55.tar.xz
linux-c052f046240b094b2ec12e0004e47756302e2b55.zip
[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 <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
-rw-r--r--sound/pci/ice1712/revo.c2
1 files changed, 1 insertions, 1 deletions
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;