diff options
author | Takashi Iwai <tiwai@suse.de> | 2015-03-23 08:14:02 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-03-23 08:14:02 -0400 |
commit | 3372dbdd8ca11f51be8c6a30b2bc79eb04c4a902 (patch) | |
tree | d4499bf5a5665b4820ffaf96bce55bf6b895195e /sound/firewire/amdtp.c | |
parent | bc465aa9d045feb0e13b4a8f32cc33c1943f62d6 (diff) | |
parent | 967b1307b69b8ada8b331e01046ad1ef83742e99 (diff) |
Merge branch 'for-next' into topic/hda-core
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 | */ |