Commit f52c44de authored by John W. Linville's avatar John W. Linville Committed by Linus Torvalds

[PATCH] i810_audio comment fix

Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent ffc659fb
...@@ -1202,7 +1202,10 @@ static void __i810_update_lvi(struct i810_state *state, int rec) ...@@ -1202,7 +1202,10 @@ static void __i810_update_lvi(struct i810_state *state, int rec)
* the next sg segment, it won't even get a start. So, instead, when * the next sg segment, it won't even get a start. So, instead, when
* we are stopped, we set both the LVI value and also we increment * we are stopped, we set both the LVI value and also we increment
* the CIV value to the next sg segment to be played so that when * the CIV value to the next sg segment to be played so that when
* we call start, things will operate properly * we call start, things will operate properly. Since the CIV can't
* be written to directly for this purpose, we set the LVI to CIV + 1
* temporarily. Once the engine has started we set the LVI to its
* final value.
*/ */
if (!dmabuf->enable && dmabuf->ready) { if (!dmabuf->enable && dmabuf->ready) {
if (!(dmabuf->trigger & trigger)) if (!(dmabuf->trigger & trigger))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment