diff options
Diffstat (limited to 'sound/pci/ice1712')
-rw-r--r-- | sound/pci/ice1712/amp.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sound/pci/ice1712/amp.c b/sound/pci/ice1712/amp.c index e328cfb7620c..e525da2673be 100644 --- a/sound/pci/ice1712/amp.c +++ b/sound/pci/ice1712/amp.c | |||
@@ -68,8 +68,11 @@ static int __devinit snd_vt1724_amp_init(struct snd_ice1712 *ice) | |||
68 | 68 | ||
69 | static int __devinit snd_vt1724_amp_add_controls(struct snd_ice1712 *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 | if (ice->ac97) |
72 | snd_ac97_write_cache(ice->ac97, 0x5a, snd_ac97_read(ice->ac97, 0x5a) & ~0x8000); | 72 | /* we use pins 39 and 41 of the VT1616 for left and right |
73 | read outputs */ | ||
74 | snd_ac97_write_cache(ice->ac97, 0x5a, | ||
75 | snd_ac97_read(ice->ac97, 0x5a) & ~0x8000); | ||
73 | return 0; | 76 | return 0; |
74 | } | 77 | } |
75 | 78 | ||