Commit f1b1a146 authored by Anders Gustafsson's avatar Anders Gustafsson Committed by Russell King

[PATCH] Add argument to synchronize_irq in cs46xx

Added irq-argument to synchronize_irq to make sound/oss/cs46xx.c
compile again.
parent adfaafa1
...@@ -2521,7 +2521,7 @@ static int cs_ioctl(struct inode *inode, struct file *file, unsigned int cmd, un ...@@ -2521,7 +2521,7 @@ static int cs_ioctl(struct inode *inode, struct file *file, unsigned int cmd, un
{ {
dmabuf = &state->dmabuf; dmabuf = &state->dmabuf;
stop_dac(state); stop_dac(state);
synchronize_irq(); synchronize_irq(card->irq);
dmabuf->ready = 0; dmabuf->ready = 0;
resync_dma_ptrs(state); resync_dma_ptrs(state);
dmabuf->swptr = dmabuf->hwptr = 0; dmabuf->swptr = dmabuf->hwptr = 0;
...@@ -2536,7 +2536,7 @@ static int cs_ioctl(struct inode *inode, struct file *file, unsigned int cmd, un ...@@ -2536,7 +2536,7 @@ static int cs_ioctl(struct inode *inode, struct file *file, unsigned int cmd, un
{ {
dmabuf = &state->dmabuf; dmabuf = &state->dmabuf;
stop_adc(state); stop_adc(state);
synchronize_irq(); synchronize_irq(card->irq);
resync_dma_ptrs(state); resync_dma_ptrs(state);
dmabuf->ready = 0; dmabuf->ready = 0;
dmabuf->swptr = dmabuf->hwptr = 0; dmabuf->swptr = dmabuf->hwptr = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment