git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ALSA: ice1712: fix boundary check in snd_wm8766_write()
[pandora-kernel.git]
/
sound
/
pci
/
ice1712
/
wm8766.c
diff --git
a/sound/pci/ice1712/wm8766.c
b/sound/pci/ice1712/wm8766.c
index
8072ade
..
e473f8a
100644
(file)
--- a/
sound/pci/ice1712/wm8766.c
+++ b/
sound/pci/ice1712/wm8766.c
@@
-31,7
+31,7
@@
static void snd_wm8766_write(struct snd_wm8766 *wm, u16 addr, u16 data)
{
- if (addr < WM8766_REG_
RESE
T)
+ if (addr < WM8766_REG_
COUN
T)
wm->regs[addr] = data;
wm->ops.write(wm, addr, data);
}