diff options
Diffstat (limited to 'sound/pci/ice1712/amp.c')
-rw-r--r-- | sound/pci/ice1712/amp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/pci/ice1712/amp.c b/sound/pci/ice1712/amp.c index 289b0b5711e4..59c4078ad331 100644 --- a/sound/pci/ice1712/amp.c +++ b/sound/pci/ice1712/amp.c | |||
@@ -33,14 +33,14 @@ | |||
33 | #include "envy24ht.h" | 33 | #include "envy24ht.h" |
34 | #include "amp.h" | 34 | #include "amp.h" |
35 | 35 | ||
36 | static void wm_put(ice1712_t *ice, int reg, unsigned short val) | 36 | static void wm_put(struct snd_ice1712 *ice, int reg, unsigned short val) |
37 | { | 37 | { |
38 | unsigned short cval; | 38 | unsigned short cval; |
39 | cval = (reg << 9) | val; | 39 | cval = (reg << 9) | val; |
40 | snd_vt1724_write_i2c(ice, WM_DEV, cval >> 8, cval & 0xff); | 40 | snd_vt1724_write_i2c(ice, WM_DEV, cval >> 8, cval & 0xff); |
41 | } | 41 | } |
42 | 42 | ||
43 | static int __devinit snd_vt1724_amp_init(ice1712_t *ice) | 43 | static int __devinit snd_vt1724_amp_init(struct snd_ice1712 *ice) |
44 | { | 44 | { |
45 | static unsigned short wm_inits[] = { | 45 | static unsigned short wm_inits[] = { |
46 | WM_ATTEN_L, 0x0000, /* 0 db */ | 46 | WM_ATTEN_L, 0x0000, /* 0 db */ |
@@ -66,7 +66,7 @@ static int __devinit snd_vt1724_amp_init(ice1712_t *ice) | |||
66 | return 0; | 66 | return 0; |
67 | } | 67 | } |
68 | 68 | ||
69 | static int __devinit snd_vt1724_amp_add_controls(ice1712_t *ice) | 69 | static int __devinit snd_vt1724_amp_add_controls(struct snd_ice1712 *ice) |
70 | { | 70 | { |
71 | /* we use pins 39 and 41 of the VT1616 for left and right read outputs */ | 71 | /* we use pins 39 and 41 of the VT1616 for left and right read outputs */ |
72 | snd_ac97_write_cache(ice->ac97, 0x5a, snd_ac97_read(ice->ac97, 0x5a) & ~0x8000); | 72 | snd_ac97_write_cache(ice->ac97, 0x5a, snd_ac97_read(ice->ac97, 0x5a) & ~0x8000); |