diff options
Diffstat (limited to 'sound/pci/ice1712/quartet.c')
-rw-r--r-- | sound/pci/ice1712/quartet.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/sound/pci/ice1712/quartet.c b/sound/pci/ice1712/quartet.c index c85b2ff79115..975e0357bd5a 100644 --- a/sound/pci/ice1712/quartet.c +++ b/sound/pci/ice1712/quartet.c | |||
@@ -386,7 +386,7 @@ static const struct snd_akm4xxx_adc_channel qtet_adc[] = { | |||
386 | AK_CONTROL(PCM_34_CAPTURE_VOLUME, 2), | 386 | AK_CONTROL(PCM_34_CAPTURE_VOLUME, 2), |
387 | }; | 387 | }; |
388 | 388 | ||
389 | static struct snd_akm4xxx akm_qtet_dac __devinitdata = { | 389 | static struct snd_akm4xxx akm_qtet_dac = { |
390 | .type = SND_AK4620, | 390 | .type = SND_AK4620, |
391 | .num_dacs = 4, /* DAC1 - Output 12 | 391 | .num_dacs = 4, /* DAC1 - Output 12 |
392 | */ | 392 | */ |
@@ -758,7 +758,7 @@ static int qtet_sw_put(struct snd_kcontrol *kcontrol, | |||
758 | .put = qtet_sw_put,\ | 758 | .put = qtet_sw_put,\ |
759 | .private_value = xpriv } | 759 | .private_value = xpriv } |
760 | 760 | ||
761 | static struct snd_kcontrol_new qtet_controls[] __devinitdata = { | 761 | static struct snd_kcontrol_new qtet_controls[] = { |
762 | { | 762 | { |
763 | .iface = SNDRV_CTL_ELEM_IFACE_MIXER, | 763 | .iface = SNDRV_CTL_ELEM_IFACE_MIXER, |
764 | .name = "Master Playback Switch", | 764 | .name = "Master Playback Switch", |
@@ -795,17 +795,17 @@ static struct snd_kcontrol_new qtet_controls[] __devinitdata = { | |||
795 | QTET_CONTROL("Output 3/4 to Monitor 1/2", sw, OUT34_MON12), | 795 | QTET_CONTROL("Output 3/4 to Monitor 1/2", sw, OUT34_MON12), |
796 | }; | 796 | }; |
797 | 797 | ||
798 | static char *slave_vols[] __devinitdata = { | 798 | static char *slave_vols[] = { |
799 | PCM_12_PLAYBACK_VOLUME, | 799 | PCM_12_PLAYBACK_VOLUME, |
800 | PCM_34_PLAYBACK_VOLUME, | 800 | PCM_34_PLAYBACK_VOLUME, |
801 | NULL | 801 | NULL |
802 | }; | 802 | }; |
803 | 803 | ||
804 | static __devinitdata | 804 | static |
805 | DECLARE_TLV_DB_SCALE(qtet_master_db_scale, -6350, 50, 1); | 805 | DECLARE_TLV_DB_SCALE(qtet_master_db_scale, -6350, 50, 1); |
806 | 806 | ||
807 | static struct snd_kcontrol __devinit *ctl_find(struct snd_card *card, | 807 | static struct snd_kcontrol *ctl_find(struct snd_card *card, |
808 | const char *name) | 808 | const char *name) |
809 | { | 809 | { |
810 | struct snd_ctl_elem_id sid; | 810 | struct snd_ctl_elem_id sid; |
811 | memset(&sid, 0, sizeof(sid)); | 811 | memset(&sid, 0, sizeof(sid)); |
@@ -815,8 +815,8 @@ static struct snd_kcontrol __devinit *ctl_find(struct snd_card *card, | |||
815 | return snd_ctl_find_id(card, &sid); | 815 | return snd_ctl_find_id(card, &sid); |
816 | } | 816 | } |
817 | 817 | ||
818 | static void __devinit add_slaves(struct snd_card *card, | 818 | static void add_slaves(struct snd_card *card, |
819 | struct snd_kcontrol *master, char * const *list) | 819 | struct snd_kcontrol *master, char * const *list) |
820 | { | 820 | { |
821 | for (; *list; list++) { | 821 | for (; *list; list++) { |
822 | struct snd_kcontrol *slave = ctl_find(card, *list); | 822 | struct snd_kcontrol *slave = ctl_find(card, *list); |
@@ -825,7 +825,7 @@ static void __devinit add_slaves(struct snd_card *card, | |||
825 | } | 825 | } |
826 | } | 826 | } |
827 | 827 | ||
828 | static int __devinit qtet_add_controls(struct snd_ice1712 *ice) | 828 | static int qtet_add_controls(struct snd_ice1712 *ice) |
829 | { | 829 | { |
830 | struct qtet_spec *spec = ice->spec; | 830 | struct qtet_spec *spec = ice->spec; |
831 | int err, i; | 831 | int err, i; |
@@ -1007,7 +1007,7 @@ static void qtet_spdif_in_open(struct snd_ice1712 *ice, | |||
1007 | /* | 1007 | /* |
1008 | * initialize the chip | 1008 | * initialize the chip |
1009 | */ | 1009 | */ |
1010 | static int __devinit qtet_init(struct snd_ice1712 *ice) | 1010 | static int qtet_init(struct snd_ice1712 *ice) |
1011 | { | 1011 | { |
1012 | static const unsigned char ak4113_init_vals[] = { | 1012 | static const unsigned char ak4113_init_vals[] = { |
1013 | /* AK4113_REG_PWRDN */ AK4113_RST | AK4113_PWN | | 1013 | /* AK4113_REG_PWRDN */ AK4113_RST | AK4113_PWN | |
@@ -1095,7 +1095,7 @@ static int __devinit qtet_init(struct snd_ice1712 *ice) | |||
1095 | return 0; | 1095 | return 0; |
1096 | } | 1096 | } |
1097 | 1097 | ||
1098 | static unsigned char qtet_eeprom[] __devinitdata = { | 1098 | static unsigned char qtet_eeprom[] = { |
1099 | [ICE_EEP2_SYSCONF] = 0x28, /* clock 256(24MHz), mpu401, 1xADC, | 1099 | [ICE_EEP2_SYSCONF] = 0x28, /* clock 256(24MHz), mpu401, 1xADC, |
1100 | 1xDACs, SPDIF in */ | 1100 | 1xDACs, SPDIF in */ |
1101 | [ICE_EEP2_ACLINK] = 0x80, /* I2S */ | 1101 | [ICE_EEP2_ACLINK] = 0x80, /* I2S */ |
@@ -1116,7 +1116,7 @@ static unsigned char qtet_eeprom[] __devinitdata = { | |||
1116 | }; | 1116 | }; |
1117 | 1117 | ||
1118 | /* entry point */ | 1118 | /* entry point */ |
1119 | struct snd_ice1712_card_info snd_vt1724_qtet_cards[] __devinitdata = { | 1119 | struct snd_ice1712_card_info snd_vt1724_qtet_cards[] = { |
1120 | { | 1120 | { |
1121 | .subvendor = VT1724_SUBDEVICE_QTET, | 1121 | .subvendor = VT1724_SUBDEVICE_QTET, |
1122 | .name = "Infrasonic Quartet", | 1122 | .name = "Infrasonic Quartet", |