[ALSA] ice1712 - Reorganize existing eeprom data
Reorganize EEPROM data (in C99 style). Signed-of-by: Philipp Matthias Hahn <pmhahn@pmhahn.de> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
This commit is contained in:

committed by
Jaroslav Kysela

szülő
bcb4d788f5
commit
189bc17143
@@ -207,19 +207,19 @@ static int __devinit juli_init(struct snd_ice1712 *ice)
|
||||
*/
|
||||
|
||||
static unsigned char juli_eeprom[] __devinitdata = {
|
||||
0x20, /* SYSCONF: clock 512, mpu401, 1xADC, 1xDACs */
|
||||
0x80, /* ACLINK: I2S */
|
||||
0xf8, /* I2S: vol, 96k, 24bit, 192k */
|
||||
0xc3, /* SPDIF: out-en, out-int, spdif-in */
|
||||
0x9f, /* GPIO_DIR */
|
||||
0xff, /* GPIO_DIR1 */
|
||||
0x7f, /* GPIO_DIR2 */
|
||||
0x9f, /* GPIO_MASK */
|
||||
0xff, /* GPIO_MASK1 */
|
||||
0x7f, /* GPIO_MASK2 */
|
||||
0x16, /* GPIO_STATE: internal clock, multiple 1x, 48kHz */
|
||||
0x80, /* GPIO_STATE1: mute */
|
||||
0x00, /* GPIO_STATE2 */
|
||||
[ICE_EEP2_SYSCONF] = 0x20, /* clock 512, mpu401, 1xADC, 1xDACs */
|
||||
[ICE_EEP2_ACLINK] = 0x80, /* I2S */
|
||||
[ICE_EEP2_I2S] = 0xf8, /* vol, 96k, 24bit, 192k */
|
||||
[ICE_EEP2_SPDIF] = 0xc3, /* out-en, out-int, spdif-in */
|
||||
[ICE_EEP2_GPIO_DIR] = 0x9f,
|
||||
[ICE_EEP2_GPIO_DIR1] = 0xff,
|
||||
[ICE_EEP2_GPIO_DIR2] = 0x7f,
|
||||
[ICE_EEP2_GPIO_MASK] = 0x9f,
|
||||
[ICE_EEP2_GPIO_MASK1] = 0xff,
|
||||
[ICE_EEP2_GPIO_MASK2] = 0x7f,
|
||||
[ICE_EEP2_GPIO_STATE] = 0x16, /* internal clock, multiple 1x, 48kHz */
|
||||
[ICE_EEP2_GPIO_STATE1] = 0x80, /* mute */
|
||||
[ICE_EEP2_GPIO_STATE2] = 0x00,
|
||||
};
|
||||
|
||||
/* entry point */
|
||||
|
Reference in New Issue
Block a user