diff options
Diffstat (limited to 'sound/pci/cs4281.c')
-rw-r--r-- | sound/pci/cs4281.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sound/pci/cs4281.c b/sound/pci/cs4281.c index ec4247638fa1..15bbf9564c82 100644 --- a/sound/pci/cs4281.c +++ b/sound/pci/cs4281.c | |||
@@ -1174,8 +1174,7 @@ static void snd_cs4281_proc_init(struct cs4281 *chip) | |||
1174 | { | 1174 | { |
1175 | struct snd_info_entry *entry; | 1175 | struct snd_info_entry *entry; |
1176 | 1176 | ||
1177 | if (! snd_card_proc_new(chip->card, "cs4281", &entry)) | 1177 | snd_card_ro_proc_new(chip->card, "cs4281", chip, snd_cs4281_proc_read); |
1178 | snd_info_set_text_ops(entry, chip, snd_cs4281_proc_read); | ||
1179 | if (! snd_card_proc_new(chip->card, "cs4281_BA0", &entry)) { | 1178 | if (! snd_card_proc_new(chip->card, "cs4281_BA0", &entry)) { |
1180 | entry->content = SNDRV_INFO_CONTENT_DATA; | 1179 | entry->content = SNDRV_INFO_CONTENT_DATA; |
1181 | entry->private_data = chip; | 1180 | entry->private_data = chip; |
@@ -2002,8 +2001,6 @@ static int cs4281_suspend(struct device *dev) | |||
2002 | unsigned int i; | 2001 | unsigned int i; |
2003 | 2002 | ||
2004 | snd_power_change_state(card, SNDRV_CTL_POWER_D3hot); | 2003 | snd_power_change_state(card, SNDRV_CTL_POWER_D3hot); |
2005 | snd_pcm_suspend_all(chip->pcm); | ||
2006 | |||
2007 | snd_ac97_suspend(chip->ac97); | 2004 | snd_ac97_suspend(chip->ac97); |
2008 | snd_ac97_suspend(chip->ac97_secondary); | 2005 | snd_ac97_suspend(chip->ac97_secondary); |
2009 | 2006 | ||