Re: [patch 2.4.29] i810_audio: offset LVI from CIV to avoid stalled start

From: John W. Linville
Date: Thu Jan 20 2005 - 17:13:50 EST


On Thu, Jan 20, 2005 at 04:23:46PM -0500, John W. Linville wrote:

> + /* if we are currently stopped, then our CIV is actually set to our
> + * *last* sg segment and we are ready to wrap to the next. However,
> + * if we set our LVI to the last sg segment, then it won't wrap to
> + * the next sg segment, it won't even get a start. So, instead, when
> + * we are stopped, we increment the CIV value to the next sg segment
> + * to be played so that when we call start, things will operate
> + * properly
> + */

Herbert,

Is this (slightly altered) comment more to your liking? If so,
I'll post an additive patch for the 2.6 version...

John
--
John W. Linville
linville@xxxxxxxxxxxxx
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/