ALSA: hda - Add two more machines to the power_save_blacklist
[sfrench/cifs-2.6.git] / sound / isa / cmi8330.c
index 6b8c46942efb4b660b508c55ffe93d0d1bd76e0b..1868b73aa49cdbdc95d0a1d8691ee9db0e9d27c7 100644 (file)
@@ -470,7 +470,7 @@ static int snd_cmi8330_pcm(struct snd_card *card, struct snd_cmi8330 *chip)
        snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &chip->streams[SNDRV_PCM_STREAM_CAPTURE].ops);
 
        snd_pcm_lib_preallocate_pages_for_all(pcm, SNDRV_DMA_TYPE_DEV,
-                                             snd_dma_isa_data(),
+                                             card->dev,
                                              64*1024, 128*1024);
        chip->pcm = pcm;
 
@@ -484,7 +484,6 @@ static int snd_cmi8330_suspend(struct snd_card *card)
        struct snd_cmi8330 *acard = card->private_data;
 
        snd_power_change_state(card, SNDRV_CTL_POWER_D3hot);
-       snd_pcm_suspend_all(acard->pcm);
        acard->wss->suspend(acard->wss);
        snd_sbmixer_suspend(acard->sb);
        return 0;