]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4116d4b98834275e54b9d32571808c694d22c1e3
tree02c169b5d3f053977de146dd20d9517b49295c22
parentf16207e86904d04718951d4740f3c92adce65793
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