[alsa-devel] [PATCH] RFC: ASoC: Davinci: Fix data_type divide by zero

Mark Brown broonie at opensource.wolfsonmicro.com
Fri Sep 11 12:31:39 CEST 2009

On Wed, Sep 09, 2009 at 06:57:10PM -0700, Troy Kisky wrote:

> This applies on top of my last patchset to Kevin's temp/asoc branch

Could you please respin against what's in for-2.6.32 - this ought to get
fixed there but the other changes will need to wait for 2.6.33.

>  struct davinci_mcbsp_dev {
> +	/*
> +	 * dma_params must be first because rtd->dai->cpu_dai->private_data
> +	 * is cast to an array of struct davinci_pcm_dma_params ** in
> +	 * davinci_pcm_open.
> +	 */

Is it not possible to deal with this by going through the types
properly?  The comment sets off all sorts of alarm bells.

More information about the Alsa-devel mailing list