summaryrefslogtreecommitdiff
path: root/sound/pci/oxygen/xonar_wm87x6.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2010-03-08 09:35:50 +0100
committerTakashi Iwai <tiwai@suse.de>2010-03-08 09:35:50 +0100
commita3087ae970e5c8984fab2306b1f4dbe5ef132ff7 (patch)
tree5d9ecc2dd903ed506c58a31f1076b2df500a6fe0 /sound/pci/oxygen/xonar_wm87x6.c
parentf0f20a16983f7d3713ab695e19bd15eca4e7533f (diff)
parent2b9ddcb8b2ce6a44f0f969000f16b016caa64294 (diff)
Merge branch 'topic/misc' into for-linus
Diffstat (limited to 'sound/pci/oxygen/xonar_wm87x6.c')
-rw-r--r--sound/pci/oxygen/xonar_wm87x6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/oxygen/xonar_wm87x6.c b/sound/pci/oxygen/xonar_wm87x6.c
index 7754db166d9e..dbc4b89d74e4 100644
--- a/sound/pci/oxygen/xonar_wm87x6.c
+++ b/sound/pci/oxygen/xonar_wm87x6.c
@@ -68,7 +68,7 @@ static void wm8776_write(struct oxygen *chip,
OXYGEN_SPI_CEN_LATCH_CLOCK_LO,
(reg << 9) | value);
if (reg < ARRAY_SIZE(data->wm8776_regs)) {
- if (reg >= WM8776_HPLVOL || reg <= WM8776_DACMASTER)
+ if (reg >= WM8776_HPLVOL && reg <= WM8776_DACMASTER)
value &= ~WM8776_UPDATE;
data->wm8776_regs[reg] = value;
}