1. 23 Nov, 2011 5 commits
    • Thomas Weber's avatar
      ARM: OMAP2+: Remove empty io.h · 52a23962
      Thomas Weber authored
      The file arch/arm/mach-omap2/io.h is empty, so we can remove it.
      Signed-off-by: default avatarThomas Weber <weber@corscience.de>
      Acked-by: default avatarKevin Hilman <khilman@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      52a23962
    • Ming Lei's avatar
      ARM: OMAP2: select ARM_AMBA if OMAP3_EMU is defined · a8a6565c
      Ming Lei authored
      This patch selects ARM_AMBA if OMAP3_EMU is defined because
      OC_ETM depends on ARM_AMBA, so fix the link failure[1].
      
      [1],
      arch/arm/kernel/built-in.o: In function `etm_remove':
      /home/tom/git/omap/linux-2.6-omap/arch/arm/kernel/etm.c:609: undefined
      reference to `amba_release_regions'
      arch/arm/kernel/built-in.o: In function `etb_remove':
      /home/tom/git/omap/linux-2.6-omap/arch/arm/kernel/etm.c:409: undefined
      reference to `amba_release_regions'
      arch/arm/kernel/built-in.o: In function `etm_init':
      /home/tom/git/omap/linux-2.6-omap/arch/arm/kernel/etm.c:640: undefined
      reference to `amba_driver_register'
      /home/tom/git/omap/linux-2.6-omap/arch/arm/kernel/etm.c:646: undefined
      reference to `amba_driver_register'
      /home/tom/git/omap/linux-2.6-omap/arch/arm/kernel/etm.c:648: undefined
      reference to `amba_driver_unregister'
      arch/arm/kernel/built-in.o: In function `etm_probe':
      /home/tom/git/omap/linux-2.6-omap/arch/arm/kernel/etm.c:545: undefined
      reference to `amba_request_regions'
      /home/tom/git/omap/linux-2.6-omap/arch/arm/kernel/etm.c:595: undefined
      reference to `amba_release_regions'
      arch/arm/kernel/built-in.o: In function `etb_probe':
      /home/tom/git/omap/linux-2.6-omap/arch/arm/kernel/etm.c:347: undefined
      reference to `amba_request_regions'
      /home/tom/git/omap/linux-2.6-omap/arch/arm/kernel/etm.c:392: undefined
      reference to `amba_release_regions'
      arch/arm/mach-omap2/built-in.o: In function `emu_init':
      /home/tom/git/omap/linux-2.6-omap/arch/arm/mach-omap2/emu.c:62:
      undefined reference to `amba_device_register'
      /home/tom/git/omap/linux-2.6-omap/arch/arm/mach-omap2/emu.c:63:
      undefined reference to `amba_device_register'
      make: *** [.tmp_vmlinux1] Error 1
      making modules
      Signed-off-by: default avatarMing Lei <tom.leiming@gmail.com>
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      a8a6565c
    • Felipe Balbi's avatar
      ARM: OMAP: smartreflex: fix IRQ handling bug · 5a4f1844
      Felipe Balbi authored
      Fix a bug which has been on this driver since
      it was added by the original commit 984aa6db
      which would never clear IRQSTATUS bits.
      Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
      Signed-off-by: default avatarKevin Hilman <khilman@ti.com>
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      5a4f1844
    • Kevin Hilman's avatar
      ARM: OMAP: PM: only register TWL with voltage layer when device is present · 46232a36
      Kevin Hilman authored
      Current code registers voltage layer details for TWL PMIC even when a TWL
      has not been registered.  Fix this to only register the TWL with voltage
      layer when the TWL PMIC is initialized by board-level code.
      Signed-off-by: default avatarKevin Hilman <khilman@ti.com>
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      46232a36
    • sricharan's avatar
      ARM: OMAP: hwmod: Fix the addr space, irq, dma count APIs · cc1b0765
      sricharan authored
      The address spaces, irqs and dma reqs count APIs return the
      number of corresponding entries in a hwmod including a additional
      null value or a -1 terminator in the structure introduced recently.
      More information here:
      
      - 212738a4: omap_hwmod: use a terminator record with omap_hwmod_mpu_irqs
        arrays
      
      - 78183f3f: omap_hwmod: use a null structure record to terminate
        omap_hwmod_addr_space arrays
      
      - bc614958: omap_hwmod: use a terminator record with omap_hwmod_dma_info
        arrays
      
      The issue with irqs and dma info was originally reported by Benoit Cousson.
      
      The devices which have multiple hwmods and use device_build_ss are
      broken with this, as their resources are populated with a extra null
      value, subsequently the probe fails. So fix the API not to include
      the array terminator in the count.
      Reported-by: default avatarBenoit Cousson <b-cousson@ti.com>
      Signed-off-by: default avatarSantosh Shilimkar <santosh.shilimar@ti.com>
      Signed-off-by: default avatarsricharan <r.sricharan@ti.com>
      Signed-off-by: default avatarBenoit Cousson <b-cousson@ti.com>
      Cc: Paul Walmsley <paul@pwsan.com>
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      cc1b0765
  2. 15 Nov, 2011 7 commits
  3. 14 Nov, 2011 7 commits
  4. 13 Nov, 2011 1 commit
  5. 12 Nov, 2011 17 commits
  6. 11 Nov, 2011 3 commits