forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ALSA] ice1724 - Misc fixes for Prodigy192
- always set 256fs in SPDIF master clock mode - disable deemphasis filter in AK4114 for Prodigy192 Signed-off-by: Pavel Hofman <[email protected]> Signed-off-by: Takashi Iwai <[email protected]> Signed-off-by: Jaroslav Kysela <[email protected]>
- Loading branch information
Pavel Hofman
authored and
Jaroslav Kysela
committed
May 11, 2007
1 parent
bccad14
commit c5a30f8
Showing
2 changed files
with
16 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,6 +26,13 @@ | |
* CCLK (pin 34) -- GPIO9 pin 76 | ||
* CSN (pin 35) -- GPIO8 pin 75 | ||
* - output data Mode 7 (24bit, I2S, slave) | ||
* - both MCKO1 and MCKO2 of ak4114 are fed to FPGA, which | ||
* outputs master clock to SPMCLKIN of ice1724. | ||
* Experimentally I found out that only a combination of | ||
* OCKS0=1, OCKS1=1 (128fs, 64fs output) and ice1724 - | ||
* VT1724_MT_I2S_MCLK_128X=0 (256fs input) yields correct | ||
* sampling rate. That means the the FPGA doubles the | ||
* MCK01 rate. | ||
* | ||
* Copyright (c) 2003 Takashi Iwai <[email protected]> | ||
* Copyright (c) 2003 Dimitromanolakis Apostolos <[email protected]> | ||
|
@@ -714,7 +721,10 @@ static int prodigy192_ak4114_init(struct snd_ice1712 *ice) | |
{ | ||
static const unsigned char ak4114_init_vals[] = { | ||
AK4114_RST | AK4114_PWN | AK4114_OCKS0 | AK4114_OCKS1, | ||
AK4114_DIF_I24I2S, /* ice1724 expects I2S and provides clock */ | ||
/* ice1724 expects I2S and provides clock, | ||
* DEM0 disables the deemphasis filter | ||
*/ | ||
AK4114_DIF_I24I2S | AK4114_DEM0 , | ||
AK4114_TX1E, | ||
AK4114_EFH_1024 | AK4114_DIT, /* default input RX0 */ | ||
0, | ||
|