--- alsa/pci/au88x0/au88x0_pcm.c 2003-07-03 00:40:02.000000000 -0400 +++ alsa-work/pci/au88x0/au88x0_pcm.c 2003-07-23 11:45:11.000000000 -0400 @@ -228,13 +228,13 @@ snd_pcm_uframes_t current_ptr = 0; dma_t *dma = (dma_t*)substream->runtime->private_data; - spin_lock(chip->lock); + spin_lock(&chip->lock); if (substream->pcm == chip->pcm_adb) current_ptr = vortex_adbdma_getlinearpos(chip, dma->dma); else current_ptr = vortex_wtdma_getlinearpos(chip, dma->dma); //printk(KERN_INFO "vortex: pointer = 0x%x\n", current_ptr); - spin_unlock(chip->lock); + spin_unlock(&chip->lock); return (bytes_to_frames(substream->runtime, current_ptr)); }