[alsa-devel] [PATCH] CA0106 SPI DAC powerdown
Here are three patches for the CA0106 SPI DAC.
The first patch powers down the DACs (other than the front dac) when they are not in use. The front dac serves as the output for the line-in pass-through / capture feedback, so it's not powered down.
The second patch adds a bunch of symbol names for SPI registers, and converts the existing init sequence from magic numbers to these names. The sequence doesn't change at all.
The third patch cleans up some unnecessary repeated sets to the same registers in the SPI init sequence.
Of course, I have tested all these patches and they work.
At Tue, 24 Jul 2007 18:15:50 -0700 (PDT), Trent Piepho wrote:
Here are three patches for the CA0106 SPI DAC.
The first patch powers down the DACs (other than the front dac) when they are not in use. The front dac serves as the output for the line-in pass-through / capture feedback, so it's not powered down.
The second patch adds a bunch of symbol names for SPI registers, and converts the existing init sequence from magic numbers to these names. The sequence doesn't change at all.
The third patch cleans up some unnecessary repeated sets to the same registers in the SPI init sequence.
Thanks, all look fine. I applied them to ALSA HG tree now.
Takashi
participants (2)
-
Takashi Iwai
-
Trent Piepho