summaryrefslogtreecommitdiffstats
path: root/sound/pci/ctxfi/ctatc.h
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/ctxfi/ctatc.h')
-rw-r--r--sound/pci/ctxfi/ctatc.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/sound/pci/ctxfi/ctatc.h b/sound/pci/ctxfi/ctatc.h
index b86d12cd4a19..a3f9b1bc7dcc 100644
--- a/sound/pci/ctxfi/ctatc.h
+++ b/sound/pci/ctxfi/ctatc.h
@@ -59,16 +59,15 @@ struct ct_atc_chip_details {
};
struct ct_atc;
+struct ct_timer;
+struct ct_timer_instance;
/* alsa pcm stream descriptor */
struct ct_atc_pcm {
struct snd_pcm_substream *substream;
void (*interrupt)(struct ct_atc_pcm *apcm);
+ struct ct_timer_instance *timer;
unsigned int started:1;
- unsigned int stop_timer:1;
- struct timer_list timer;
- spinlock_t timer_lock;
- unsigned int position;
/* Only mono and interleaved modes are supported now. */
struct ct_vm_block *vm_block;
@@ -144,6 +143,8 @@ struct ct_atc {
unsigned char n_src;
unsigned char n_srcimp;
unsigned char n_pcm;
+
+ struct ct_timer *timer;
};
OpenPOWER on IntegriCloud