[PATCH] IMX/SDMA : save the real count for one DMA transaction.

Huang Shijie b32955 at freescale.com
Wed Nov 23 06:04:44 EST 2011


Hi,
>> +	/* save the real count we received or transmitted. */
>> +	chan->private = (void *)count;
> And if someone later needs another variable which is private?
>
I ever wanted to add an new parameter `void *` to dma_aync_tx_callback,
but it seemed i have
to change a lot of files.

Do you have any better suggestion?

thanks
Huang Shijie





More information about the linux-arm-kernel mailing list