diff --git a/[refs] b/[refs] index 7d116890093e..34edbcc99132 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: f9afed1f7fcadcad2b91f79aa81adf9456864117 +refs/heads/master: b57a895fa2188d4e1cefa030d0fc9d126e453a95 diff --git a/trunk/sound/pci/ice1712/wm8766.c b/trunk/sound/pci/ice1712/wm8766.c index 8072adeecf68..e473f8a88f9c 100644 --- a/trunk/sound/pci/ice1712/wm8766.c +++ b/trunk/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_RESET) + if (addr < WM8766_REG_COUNT) wm->regs[addr] = data; wm->ops.write(wm, addr, data); }