aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClément Guedez <klem.dev@gmail.com>2015-03-17 21:26:27 -0400
committerTakashi Iwai <tiwai@suse.de>2015-03-18 03:05:07 -0400
commit7127744a5e14455a4b69429757fd811aa50ec4b8 (patch)
treebe1e3b05fd195ea46755cf985e0902fd87366679
parentb56df151d3b97a95ba3d3a76c2867d00f2db7782 (diff)
ALSA: ice1724: ESI W192M: Update eeprom structure to C99 standard
Update eeprom structure to C99 standard to be compliant with change in alsa. It's just a notation change, no configuration change. Signed-off-by: Clément Guedez <klem.dev@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r--sound/pci/ice1712/wtm.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/sound/pci/ice1712/wtm.c b/sound/pci/ice1712/wtm.c
index f65ac193cf1a..6e1026e0e56b 100644
--- a/sound/pci/ice1712/wtm.c
+++ b/sound/pci/ice1712/wtm.c
@@ -485,19 +485,19 @@ static int wtm_init(struct snd_ice1712 *ice)
485 485
486 486
487static unsigned char wtm_eeprom[] = { 487static unsigned char wtm_eeprom[] = {
488 0x47, /*SYSCONF: clock 192KHz, 4ADC, 8DAC */ 488 [ICE_EEP2_SYSCONF] = 0x47, /*SYSCONF: clock 192KHz, 4ADC, 8DAC */
489 0x80, /* ACLINK : I2S */ 489 [ICE_EEP2_ACLINK] = 0x80, /* ACLINK : I2S */
490 0xf8, /* I2S: vol; 96k, 24bit, 192k */ 490 [ICE_EEP2_I2S] = 0xf8, /* I2S: vol; 96k, 24bit, 192k */
491 0xc1 /*SPDIF: out-en, spidf ext out*/, 491 [ICE_EEP2_SPDIF] = 0xc1, /*SPDIF: out-en, spidf ext out*/
492 0x9f, /* GPIO_DIR */ 492 [ICE_EEP2_GPIO_DIR] = 0x9f,
493 0xff, /* GPIO_DIR1 */ 493 [ICE_EEP2_GPIO_DIR1] = 0xff,
494 0x7f, /* GPIO_DIR2 */ 494 [ICE_EEP2_GPIO_DIR2] = 0x7f,
495 0x9f, /* GPIO_MASK */ 495 [ICE_EEP2_GPIO_MASK] = 0x9f,
496 0xff, /* GPIO_MASK1 */ 496 [ICE_EEP2_GPIO_MASK1] = 0xff,
497 0x7f, /* GPIO_MASK2 */ 497 [ICE_EEP2_GPIO_MASK2] = 0x7f,
498 0x16, /* GPIO_STATE */ 498 [ICE_EEP2_GPIO_STATE] = 0x16,
499 0x80, /* GPIO_STATE1 */ 499 [ICE_EEP2_GPIO_STATE1] = 0x80,
500 0x00, /* GPIO_STATE2 */ 500 [ICE_EEP2_GPIO_STATE2] = 0x00,
501}; 501};
502 502
503 503