]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[ALSA] ca0106: Add more symbol SPI register names and use them
authorTrent Piepho <xyzzy@speakeasy.org>
Wed, 25 Jul 2007 16:40:39 +0000 (18:40 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 16 Oct 2007 13:57:59 +0000 (15:57 +0200)
commit18b5d32f201462ef7ed3c01773a88b4645128158
tree3c6c631104fee79f581bb0d7b23332c76a0d56d1
parent485100706b4b397f8072c756839878f634e21f85
[ALSA] ca0106: Add more symbol SPI register names and use them

Add more symbol name for SPI register values.  Change the SPI_XXX_BIT defines
from the bit number to a mask.  Saves having to write (1<<SPI_XXX_BIT) all the
time to convert to mask.  We never end up wanting the bit number.
Use all the symbol names for the SPI DAC init sequence.  The sequence is
exactly the same as it was before.

Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/pci/ca0106/ca0106.h
sound/pci/ca0106/ca0106_main.c
sound/pci/ca0106/ca0106_mixer.c