diff options
Diffstat (limited to 'sound/pci/ice1712/se.c')
-rw-r--r-- | sound/pci/ice1712/se.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/sound/pci/ice1712/se.c b/sound/pci/ice1712/se.c index 53b555f5bbea..ffd894bb4507 100644 --- a/sound/pci/ice1712/se.c +++ b/sound/pci/ice1712/se.c | |||
@@ -113,7 +113,7 @@ struct se_spec { | |||
113 | /* WM8740 interface */ | 113 | /* WM8740 interface */ |
114 | /****************************************************************************/ | 114 | /****************************************************************************/ |
115 | 115 | ||
116 | static void __devinit se200pci_WM8740_init(struct snd_ice1712 *ice) | 116 | static void se200pci_WM8740_init(struct snd_ice1712 *ice) |
117 | { | 117 | { |
118 | /* nothing to do */ | 118 | /* nothing to do */ |
119 | } | 119 | } |
@@ -195,7 +195,7 @@ static void se200pci_WM8766_set_volume(struct snd_ice1712 *ice, int ch, | |||
195 | } | 195 | } |
196 | } | 196 | } |
197 | 197 | ||
198 | static void __devinit se200pci_WM8766_init(struct snd_ice1712 *ice) | 198 | static void se200pci_WM8766_init(struct snd_ice1712 *ice) |
199 | { | 199 | { |
200 | se200pci_WM8766_write(ice, 0x1f, 0x000); /* RESET ALL */ | 200 | se200pci_WM8766_write(ice, 0x1f, 0x000); /* RESET ALL */ |
201 | udelay(10); | 201 | udelay(10); |
@@ -299,10 +299,10 @@ static void se200pci_WM8776_set_agc(struct snd_ice1712 *ice, unsigned int agc) | |||
299 | } | 299 | } |
300 | } | 300 | } |
301 | 301 | ||
302 | static void __devinit se200pci_WM8776_init(struct snd_ice1712 *ice) | 302 | static void se200pci_WM8776_init(struct snd_ice1712 *ice) |
303 | { | 303 | { |
304 | int i; | 304 | int i; |
305 | static unsigned short __devinitdata default_values[] = { | 305 | static unsigned short default_values[] = { |
306 | 0x100, 0x100, 0x100, | 306 | 0x100, 0x100, 0x100, |
307 | 0x100, 0x100, 0x100, | 307 | 0x100, 0x100, 0x100, |
308 | 0x000, 0x090, 0x000, 0x000, | 308 | 0x000, 0x090, 0x000, 0x000, |
@@ -599,7 +599,7 @@ static int se200pci_cont_enum_put(struct snd_kcontrol *kc, | |||
599 | static const DECLARE_TLV_DB_SCALE(db_scale_gain1, -12750, 50, 1); | 599 | static const DECLARE_TLV_DB_SCALE(db_scale_gain1, -12750, 50, 1); |
600 | static const DECLARE_TLV_DB_SCALE(db_scale_gain2, -10350, 50, 1); | 600 | static const DECLARE_TLV_DB_SCALE(db_scale_gain2, -10350, 50, 1); |
601 | 601 | ||
602 | static int __devinit se200pci_add_controls(struct snd_ice1712 *ice) | 602 | static int se200pci_add_controls(struct snd_ice1712 *ice) |
603 | { | 603 | { |
604 | int i; | 604 | int i; |
605 | struct snd_kcontrol_new cont; | 605 | struct snd_kcontrol_new cont; |
@@ -677,7 +677,7 @@ static int __devinit se200pci_add_controls(struct snd_ice1712 *ice) | |||
677 | /* probe/initialize/setup */ | 677 | /* probe/initialize/setup */ |
678 | /****************************************************************************/ | 678 | /****************************************************************************/ |
679 | 679 | ||
680 | static int __devinit se_init(struct snd_ice1712 *ice) | 680 | static int se_init(struct snd_ice1712 *ice) |
681 | { | 681 | { |
682 | struct se_spec *spec; | 682 | struct se_spec *spec; |
683 | 683 | ||
@@ -705,7 +705,7 @@ static int __devinit se_init(struct snd_ice1712 *ice) | |||
705 | return -ENOENT; | 705 | return -ENOENT; |
706 | } | 706 | } |
707 | 707 | ||
708 | static int __devinit se_add_controls(struct snd_ice1712 *ice) | 708 | static int se_add_controls(struct snd_ice1712 *ice) |
709 | { | 709 | { |
710 | int err; | 710 | int err; |
711 | 711 | ||
@@ -722,7 +722,7 @@ static int __devinit se_add_controls(struct snd_ice1712 *ice) | |||
722 | /* entry point */ | 722 | /* entry point */ |
723 | /****************************************************************************/ | 723 | /****************************************************************************/ |
724 | 724 | ||
725 | static unsigned char se200pci_eeprom[] __devinitdata = { | 725 | static unsigned char se200pci_eeprom[] = { |
726 | [ICE_EEP2_SYSCONF] = 0x4b, /* 49.152Hz, spdif-in/ADC, 4DACs */ | 726 | [ICE_EEP2_SYSCONF] = 0x4b, /* 49.152Hz, spdif-in/ADC, 4DACs */ |
727 | [ICE_EEP2_ACLINK] = 0x80, /* I2S */ | 727 | [ICE_EEP2_ACLINK] = 0x80, /* I2S */ |
728 | [ICE_EEP2_I2S] = 0x78, /* 96k-ok, 24bit, 192k-ok */ | 728 | [ICE_EEP2_I2S] = 0x78, /* 96k-ok, 24bit, 192k-ok */ |
@@ -741,7 +741,7 @@ static unsigned char se200pci_eeprom[] __devinitdata = { | |||
741 | [ICE_EEP2_GPIO_STATE2] = 0x07, /* WM8766 ML/MC/MD */ | 741 | [ICE_EEP2_GPIO_STATE2] = 0x07, /* WM8766 ML/MC/MD */ |
742 | }; | 742 | }; |
743 | 743 | ||
744 | static unsigned char se90pci_eeprom[] __devinitdata = { | 744 | static unsigned char se90pci_eeprom[] = { |
745 | [ICE_EEP2_SYSCONF] = 0x4b, /* 49.152Hz, spdif-in/ADC, 4DACs */ | 745 | [ICE_EEP2_SYSCONF] = 0x4b, /* 49.152Hz, spdif-in/ADC, 4DACs */ |
746 | [ICE_EEP2_ACLINK] = 0x80, /* I2S */ | 746 | [ICE_EEP2_ACLINK] = 0x80, /* I2S */ |
747 | [ICE_EEP2_I2S] = 0x78, /* 96k-ok, 24bit, 192k-ok */ | 747 | [ICE_EEP2_I2S] = 0x78, /* 96k-ok, 24bit, 192k-ok */ |
@@ -750,7 +750,7 @@ static unsigned char se90pci_eeprom[] __devinitdata = { | |||
750 | /* ALL GPIO bits are in input mode */ | 750 | /* ALL GPIO bits are in input mode */ |
751 | }; | 751 | }; |
752 | 752 | ||
753 | struct snd_ice1712_card_info snd_vt1724_se_cards[] __devinitdata = { | 753 | struct snd_ice1712_card_info snd_vt1724_se_cards[] = { |
754 | { | 754 | { |
755 | .subvendor = VT1724_SUBDEVICE_SE200PCI, | 755 | .subvendor = VT1724_SUBDEVICE_SE200PCI, |
756 | .name = "ONKYO SE200PCI", | 756 | .name = "ONKYO SE200PCI", |