ALSA: ac97: replace open-coded, error-prone stuff with AC97 bit defines
authorAndreas Mohr <andi@lisas.de>
Wed, 16 Feb 2011 23:17:53 +0000 (00:17 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 17 Feb 2011 17:39:25 +0000 (18:39 +0100)
commit03c2d87a2112a6548aa3f9635e76d3611c3df53c
tree02c169b5d3f053977de146dd20d9517b49295c22
parent3347b26cab60e20534b9a46ceea70b9fb74297fb
ALSA: ac97: replace open-coded, error-prone stuff with AC97 bit defines

Use AC97 macros (sometimes already existing, or newly added)
instead of error-prone repetition of open-coded values.

Signed-off-by: Andreas Mohr <andi@lisas.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/ac97_codec.h
sound/pci/ac97/ac97_codec.c