ALSA: au88x0: Fix incorrect device pointer for preallocation
[linux-2.6-block.git] / sound / pci / au88x0 / au88x0_pcm.c
index 1012e8da29e750c4a4d5a1247bd1bbbae6bf7322..a2dcf43beedf778164ec272f133e5499bb55c800 100644 (file)
@@ -637,7 +637,7 @@ static int snd_vortex_new_pcm(vortex_t *chip, int idx, int nr)
        /* pre-allocation of Scatter-Gather buffers */
        
        snd_pcm_lib_preallocate_pages_for_all(pcm, SNDRV_DMA_TYPE_DEV_SG,
-                                             &chip->pci_dev,
+                                             &chip->pci_dev->dev,
                                              0x10000, 0x10000);
 
        switch (VORTEX_PCM_TYPE(pcm)) {