浏览代码

[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>
Takashi Iwai 18 年之前
父节点
当前提交
c052f04624
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      sound/pci/ice1712/revo.c

+ 1 - 1
sound/pci/ice1712/revo.c

@@ -405,7 +405,7 @@ static unsigned char read_data(struct snd_ice1712 *ice, unsigned int gpio,
 	return data;
 	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;
 	unsigned int tmp;