Re: [PATCH v1 7/9] OMAP1: DMA: Implement in platform device model

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Kevin Hilman <khilman@xxxxxxxxxxxxxxxxxxx> writes:

[...]

>
> Using the patch below which fixes up the interrupt numbers to match the
> original code, the memory-to-memory test is now working on OSK.

Tony, if you prefer just to fold this into the original, feel free to
add

[khilman@xxxxxxxxxxxxxxxxxxx]: fixed IRQ numbers to match original code
Signed-off-by: Kevin Hilman <khilman@xxxxxxxxxxxxxxxxxxx>


> diff --git a/arch/arm/mach-omap1/dma.c b/arch/arm/mach-omap1/dma.c
> index 17814e0..d855934 100644
> --- a/arch/arm/mach-omap1/dma.c
> +++ b/arch/arm/mach-omap1/dma.c
> @@ -121,58 +121,58 @@ static struct resource res[] __initdata = {
>  	/* Handled in lcd_dma.c */
>  	[7] = {
>  		.name   = "6",
> -		.start  = INT_DMA_LCD,
> +		.start  = INT_1610_DMA_CH6,
>  		.flags  = IORESOURCE_IRQ,
>  	},
>  	/* irq's for omap16xx and omap7xx */
>  	[8] = {
>  		.name   = "7",
> -		.start  = 53 + IH2_BASE,
> +		.start  = INT_1610_DMA_CH7,
>  		.flags  = IORESOURCE_IRQ,
>  	},
>  	[9] = {
>  		.name   = "8",
> -		.start  = 54 + IH2_BASE,
> +		.start  = INT_1610_DMA_CH8,
>  		.flags  = IORESOURCE_IRQ,
>  	},
>  	[10] = {
>  		.name  = "9",
> -		.start = 55 + IH2_BASE,
> +		.start = INT_1610_DMA_CH9,
>  		.flags = IORESOURCE_IRQ,
>  	},
>  	[11] = {
>  		.name  = "10",
> -		.start = 56 + IH2_BASE,
> +		.start = INT_1610_DMA_CH10,
>  		.flags = IORESOURCE_IRQ,
>  	},
>  	[12] = {
>  		.name  = "11",
> -		.start = 57 + IH2_BASE,
> +		.start = INT_1610_DMA_CH11,
>  		.flags = IORESOURCE_IRQ,
>  	},
>  	[13] = {
>  		.name  = "12",
> -		.start = 58 + IH2_BASE,
> +		.start = INT_1610_DMA_CH12,
>  		.flags = IORESOURCE_IRQ,
>  	},
>  	[14] = {
>  		.name  = "13",
> -		.start = 59 + IH2_BASE,
> +		.start = INT_1610_DMA_CH13,
>  		.flags = IORESOURCE_IRQ,
>  	},
>  	[15] = {
>  		.name  = "14",
> -		.start = 60 + IH2_BASE,
> +		.start = INT_1610_DMA_CH14,
>  		.flags = IORESOURCE_IRQ,
>  	},
>  	[16] = {
>  		.name  = "15",
> -		.start = 61 + IH2_BASE,
> +		.start = INT_1610_DMA_CH15,
>  		.flags = IORESOURCE_IRQ,
>  	},
>  	[17] = {
>  		.name  = "16",
> -		.start = 62 + IH2_BASE,
> +		.start = INT_DMA_LCD,
>  		.flags = IORESOURCE_IRQ,
>  	},
>  };
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux