ALSA: virtuoso: fix WM8766 register writes with MSB
commitda0dab5ecb5001f76e739e71ee199db4c61e7af2
authorClemens Ladisch <clemens@ladisch.de>
Thu, 9 Sep 2010 10:18:35 +0000 (9 12:18 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 9 Sep 2010 08:53:23 +0000 (9 10:53 +0200)
treec9573207f04aeb54fcc304118dbca2fcc06121dc
parentc8bdfacb63c85d39ff55d365f1e48cce011b219e
ALSA: virtuoso: fix WM8766 register writes with MSB

The check for the volume update latch bit was accidentally in the wrong
function, where it would prevent the MSB from being written, instead of
correctly ignoring it for cached values.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/oxygen/xonar_wm87x6.c