diff options
Diffstat (limited to 'include/sound/pcm.h')
-rw-r--r-- | include/sound/pcm.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/sound/pcm.h b/include/sound/pcm.h index 40c5a6fa6bcd..c17296891617 100644 --- a/include/sound/pcm.h +++ b/include/sound/pcm.h | |||
@@ -268,7 +268,8 @@ struct snd_pcm_runtime { | |||
268 | int overrange; | 268 | int overrange; |
269 | snd_pcm_uframes_t avail_max; | 269 | snd_pcm_uframes_t avail_max; |
270 | snd_pcm_uframes_t hw_ptr_base; /* Position at buffer restart */ | 270 | snd_pcm_uframes_t hw_ptr_base; /* Position at buffer restart */ |
271 | snd_pcm_uframes_t hw_ptr_interrupt; /* Position at interrupt time*/ | 271 | snd_pcm_uframes_t hw_ptr_interrupt; /* Position at interrupt time */ |
272 | unsigned long hw_ptr_jiffies; /* Time when hw_ptr is updated */ | ||
272 | 273 | ||
273 | /* -- HW params -- */ | 274 | /* -- HW params -- */ |
274 | snd_pcm_access_t access; /* access mode */ | 275 | snd_pcm_access_t access; /* access mode */ |
@@ -364,7 +365,6 @@ struct snd_pcm_substream { | |||
364 | /* -- timer section -- */ | 365 | /* -- timer section -- */ |
365 | struct snd_timer *timer; /* timer */ | 366 | struct snd_timer *timer; /* timer */ |
366 | unsigned timer_running: 1; /* time is running */ | 367 | unsigned timer_running: 1; /* time is running */ |
367 | spinlock_t timer_lock; | ||
368 | /* -- next substream -- */ | 368 | /* -- next substream -- */ |
369 | struct snd_pcm_substream *next; | 369 | struct snd_pcm_substream *next; |
370 | /* -- linked substreams -- */ | 370 | /* -- linked substreams -- */ |
@@ -451,7 +451,7 @@ struct snd_pcm_notify { | |||
451 | 451 | ||
452 | extern const struct file_operations snd_pcm_f_ops[2]; | 452 | extern const struct file_operations snd_pcm_f_ops[2]; |
453 | 453 | ||
454 | int snd_pcm_new(struct snd_card *card, char *id, int device, | 454 | int snd_pcm_new(struct snd_card *card, const char *id, int device, |
455 | int playback_count, int capture_count, | 455 | int playback_count, int capture_count, |
456 | struct snd_pcm **rpcm); | 456 | struct snd_pcm **rpcm); |
457 | int snd_pcm_new_stream(struct snd_pcm *pcm, int stream, int substream_count); | 457 | int snd_pcm_new_stream(struct snd_pcm *pcm, int stream, int substream_count); |