diff options
author | Takashi Iwai <tiwai@suse.de> | 2014-09-10 14:01:05 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-09-15 15:52:10 +0200 |
commit | 6336c20cdaee1dd13d01dfa8c07ce3b18bbc846f (patch) | |
tree | c974b279979eadaa0ace3768d7e231a59f62f3bd /sound/pci/lx6464es/lx_core.h | |
parent | 9bef72bdb26e291d6dffb04768741a0e49582666 (diff) | |
download | talos-op-linux-6336c20cdaee1dd13d01dfa8c07ce3b18bbc846f.tar.gz talos-op-linux-6336c20cdaee1dd13d01dfa8c07ce3b18bbc846f.zip |
ALSA: lx6464es: Use nonatomic PCM ops
Like the other previous changes, this patch for lx6464es takes the
same strategy for converting to nonatomic PCM ops: replacing spinlock
with mutex, converting the irq tasklet to the threaded irq, and
merging the trigger tasklets back to the trigger callback.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/lx6464es/lx_core.h')
-rw-r--r-- | sound/pci/lx6464es/lx_core.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sound/pci/lx6464es/lx_core.h b/sound/pci/lx6464es/lx_core.h index 5ec5e04da1a5..0cc140ca98e3 100644 --- a/sound/pci/lx6464es/lx_core.h +++ b/sound/pci/lx6464es/lx_core.h @@ -181,12 +181,10 @@ int lx_level_peaks(struct lx6464es *chip, int is_capture, int channels, /* interrupt handling */ irqreturn_t lx_interrupt(int irq, void *dev_id); +irqreturn_t lx_threaded_irq(int irq, void *dev_id); void lx_irq_enable(struct lx6464es *chip); void lx_irq_disable(struct lx6464es *chip); -void lx_tasklet_capture(unsigned long data); -void lx_tasklet_playback(unsigned long data); - /* Stream Format Header Defines (for LIN and IEEE754) */ #define HEADER_FMT_BASE HEADER_FMT_BASE_LIN |