[ALSA] ac97_codec - trivial fix for bit update functions
authorJames C Georgas <jgeorgas@rogers.com>
Thu, 7 Dec 2006 07:10:57 +0000 (08:10 +0100)
committerJaroslav Kysela <perex@server.perex.cz>
Wed, 20 Dec 2006 07:56:10 +0000 (08:56 +0100)
This patch fixes a couple of bit update functions in
alsa-kernel/pci/ac97/ac97_codec.c, which could possibly corrupt bits not
in the given mask.
Specifically, it'll clobber unset bits in the target that are not in the
mask, when the corresponding bit in the given new value is set.

Signed-off-by: James C Georgas <jgeorgas@rogers.com>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/pci/ac97/ac97_codec.c

Simple merge