summaryrefslogtreecommitdiff
path: root/drivers/staging/tm6000/tm6000.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2010-06-05 15:10:36 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-08-02 14:05:55 -0300
commit3f23a81a101889711e878240908a2b81b94a268a (patch)
tree41ad45d6ba2f92773c0d21dcd08431b8c1bae443 /drivers/staging/tm6000/tm6000.h
parentfaa7c13481a1d73e93456b1e2a0d95c4f89ad518 (diff)
V4L/DVB: tm6000-alsa: Fix several bugs at the driver initialization code
There are several missing things at the driver, preventing, for example, the code to start/stop DMA to actually work. Fix them before implementing a routine to store data at the audio buffers. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/staging/tm6000/tm6000.h')
-rw-r--r--drivers/staging/tm6000/tm6000.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/staging/tm6000/tm6000.h b/drivers/staging/tm6000/tm6000.h
index db9995914caa..89862a49520d 100644
--- a/drivers/staging/tm6000/tm6000.h
+++ b/drivers/staging/tm6000/tm6000.h
@@ -135,9 +135,12 @@ struct tm6000_dvb {
struct snd_tm6000_card {
struct snd_card *card;
spinlock_t reg_lock;
- atomic_t count;
struct tm6000_core *core;
struct snd_pcm_substream *substream;
+
+ /* temporary data for buffer fill processing */
+ unsigned buf_pos;
+ unsigned period_pos;
};
struct tm6000_endpoint {