[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)
commite8bb036a46ec4a9d748672f54a6b2d62c82b6fbd
tree27fef55b23f193e1591c7fb67ec3918d0b71e067
parentd5f6a38d9896614e2e78a82c6cb818721601c52f
[ALSA] ac97_codec - trivial fix for bit update functions

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