[PATCH] tas3004_tables.c off-by-one

Colin Leroy colin at colino.net
Sun Dec 21 22:23:29 EST 2003


On 21 Dec 2003 at 10h12, Benjamin Herrenschmidt wrote:

Hi,
> > I found out this was due to too short (by one item) arrays in
> > tas3004_tables.c. This patch fixes it. I just copied over the last entry
> > of each array.
>
> Interesting, my understanding is that those values were taken
> from Darwin ;)

That's what I thought too; that's a bit odd. debug printk()s clearly told me
that the kernel was trying to get array[101] of the 101 elements arrays :-)
Maybe Darwin doesn't allow the mixers to get to 100% ?

--
Colin

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list