diff options
Diffstat (limited to 'sound/firewire/amdtp.c')
-rw-r--r-- | sound/firewire/amdtp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sound/firewire/amdtp.c b/sound/firewire/amdtp.c index 5cc356db5351..e061355f535f 100644 --- a/sound/firewire/amdtp.c +++ b/sound/firewire/amdtp.c | |||
@@ -166,10 +166,10 @@ int amdtp_stream_add_pcm_hw_constraints(struct amdtp_stream *s, | |||
166 | * One AMDTP packet can include some frames. In blocking mode, the | 166 | * One AMDTP packet can include some frames. In blocking mode, the |
167 | * number equals to SYT_INTERVAL. So the number is 8, 16 or 32, | 167 | * number equals to SYT_INTERVAL. So the number is 8, 16 or 32, |
168 | * depending on its sampling rate. For accurate period interrupt, it's | 168 | * depending on its sampling rate. For accurate period interrupt, it's |
169 | * preferrable to aligh period/buffer sizes to current SYT_INTERVAL. | 169 | * preferrable to align period/buffer sizes to current SYT_INTERVAL. |
170 | * | 170 | * |
171 | * TODO: These constraints can be improved with propper rules. | 171 | * TODO: These constraints can be improved with proper rules. |
172 | * Currently apply LCM of SYT_INTEVALs. | 172 | * Currently apply LCM of SYT_INTERVALs. |
173 | */ | 173 | */ |
174 | err = snd_pcm_hw_constraint_step(runtime, 0, | 174 | err = snd_pcm_hw_constraint_step(runtime, 0, |
175 | SNDRV_PCM_HW_PARAM_PERIOD_SIZE, 32); | 175 | SNDRV_PCM_HW_PARAM_PERIOD_SIZE, 32); |
@@ -270,7 +270,7 @@ static void amdtp_read_s32(struct amdtp_stream *s, | |||
270 | * @s: the AMDTP stream to configure | 270 | * @s: the AMDTP stream to configure |
271 | * @format: the format of the ALSA PCM device | 271 | * @format: the format of the ALSA PCM device |
272 | * | 272 | * |
273 | * The sample format must be set after the other paramters (rate/PCM channels/ | 273 | * The sample format must be set after the other parameters (rate/PCM channels/ |
274 | * MIDI) and before the stream is started, and must not be changed while the | 274 | * MIDI) and before the stream is started, and must not be changed while the |
275 | * stream is running. | 275 | * stream is running. |
276 | */ | 276 | */ |