浏览代码

ARM: OMAP4: hwmod data: Add names for DMIC memory address space

To be able to get the memory resources by name from
the DMIC driver (for MPU and for DMA).

Without this patch, functionality that was working in 3.2 breaks in
3.3-rc1.  This patch should have gone in as part of the 3.3 merge
window, but was inadvertently missed.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
[paul@pwsan.com: added commit message note]
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Peter Ujfalusi 13 年之前
父节点
当前提交
6af486e2b3
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      arch/arm/mach-omap2/omap_hwmod_44xx_data.c

+ 2 - 0
arch/arm/mach-omap2/omap_hwmod_44xx_data.c

@@ -1031,6 +1031,7 @@ static struct omap_hwmod_dma_info omap44xx_dmic_sdma_reqs[] = {
 
 
 static struct omap_hwmod_addr_space omap44xx_dmic_addrs[] = {
 static struct omap_hwmod_addr_space omap44xx_dmic_addrs[] = {
 	{
 	{
+		.name		= "mpu",
 		.pa_start	= 0x4012e000,
 		.pa_start	= 0x4012e000,
 		.pa_end		= 0x4012e07f,
 		.pa_end		= 0x4012e07f,
 		.flags		= ADDR_TYPE_RT
 		.flags		= ADDR_TYPE_RT
@@ -1049,6 +1050,7 @@ static struct omap_hwmod_ocp_if omap44xx_l4_abe__dmic = {
 
 
 static struct omap_hwmod_addr_space omap44xx_dmic_dma_addrs[] = {
 static struct omap_hwmod_addr_space omap44xx_dmic_dma_addrs[] = {
 	{
 	{
+		.name		= "dma",
 		.pa_start	= 0x4902e000,
 		.pa_start	= 0x4902e000,
 		.pa_end		= 0x4902e07f,
 		.pa_end		= 0x4902e07f,
 		.flags		= ADDR_TYPE_RT
 		.flags		= ADDR_TYPE_RT