1. Nov 24, 2011
    • 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. Nov 16, 2011
  3. Nov 15, 2011
    • Liu Gang's avatar
      fsl-rio: fix compile error · e0ce42e1
      Liu Gang authored
      
      
      The "#include <linux/module.h>" was replaced by "#include <linux/export.h>"
      in the patch "powerpc: various straight conversions from module.h --> export.h".
      This will cause the following compile problem:
      arch/powerpc/sysdev/fsl_rio.c: In function 'fsl_rio_mcheck_exception':
      arch/powerpc/sysdev/fsl_rio.c:296: error: implicit declaration of function 'search_exception_tables'.
      
      The file fsl_rio.c needs the declaration of function "search_exception_tables"
      in the header file "linux/module.h".
      
      Signed-off-by: default avatarLiu Gang <Gang.Liu@freescale.com>
      Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
      e0ce42e1
  4. Nov 14, 2011
  5. Nov 13, 2011
  6. Nov 12, 2011
  7. Nov 11, 2011
    • Shawn Guo's avatar
      arm/imx: fix imx6q mmc error when mounting rootfs · f750ba9b
      Shawn Guo authored
      
      
      The following error is seen in some case when mounting rootfs from
      SD/MMC cards.
      
        Waiting for root device /dev/mmcblk0p1...
        mmc1: host does not support reading read-only switch. assuming write-enable.
        mmc1: new high speed SDHC card at address b368
        mmcblk0: mmc1:b368 SDC   3.74 GiB
         mmcblk0: p1
        mmc1: Timeout waiting for hardware interrupt.
        mmcblk0: error -110 transferring data, sector 3678224, nr 40, cmd response 0x900, card status 0xc00
        end_request: I/O error, dev mmcblk0, sector 3678225
        Buffer I/O error on device mmcblk0p1, logical block 458754
        lost page write due to I/O error on mmcblk0p1
      
      This patch fixes the problem by lowering the usdhc clock and correcting
      watermark configuration.
      
      Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
      Cc: Chris Ball <cjb@laptop.org>
      Cc: Sascha Hauer <s.hauer@pengutronix.de>
      Signed-off-by: default avatarSascha Hauer <s.hauer@pengutronix.de>
      f750ba9b
    • Shawn Guo's avatar
      arm/imx: fix AUTO_ZRELADDR selection · 1b929995
      Shawn Guo authored
      
      
      The AUTO_ZRELADDR selection for ARCH_IMX_V4_V5 and ARCH_MX5 should
      really be mutually exclusive to ZBOOT_ROM just like what ARCH_IMX_V6_V7
      does.
      
      Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
      Cc: Sascha Hauer <s.hauer@pengutronix.de>
      Signed-off-by: default avatarSascha Hauer <s.hauer@pengutronix.de>
      1b929995