1. 24 11月, 2011 5 次提交
    • T
      ARM: OMAP2+: Remove empty io.h · 52a23962
      Thomas Weber 提交于
      The file arch/arm/mach-omap2/io.h is empty, so we can remove it.
      Signed-off-by: NThomas Weber <weber@corscience.de>
      Acked-by: NKevin Hilman <khilman@ti.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      52a23962
    • M
      ARM: OMAP2: select ARM_AMBA if OMAP3_EMU is defined · a8a6565c
      Ming Lei 提交于
      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: NMing Lei <tom.leiming@gmail.com>
      Cc: stable@vger.kernel.org
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      a8a6565c
    • F
      ARM: OMAP: smartreflex: fix IRQ handling bug · 5a4f1844
      Felipe Balbi 提交于
      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: NFelipe Balbi <balbi@ti.com>
      Signed-off-by: NKevin Hilman <khilman@ti.com>
      Cc: stable@vger.kernel.org
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      5a4f1844
    • K
      ARM: OMAP: PM: only register TWL with voltage layer when device is present · 46232a36
      Kevin Hilman 提交于
      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: NKevin Hilman <khilman@ti.com>
      Cc: stable@vger.kernel.org
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      46232a36
    • S
      ARM: OMAP: hwmod: Fix the addr space, irq, dma count APIs · cc1b0765
      sricharan 提交于
      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: NBenoit Cousson <b-cousson@ti.com>
      Signed-off-by: NSantosh Shilimkar <santosh.shilimar@ti.com>
      Signed-off-by: Nsricharan <r.sricharan@ti.com>
      Signed-off-by: NBenoit Cousson <b-cousson@ti.com>
      Cc: Paul Walmsley <paul@pwsan.com>
      Cc: stable@vger.kernel.org
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      cc1b0765
  2. 16 11月, 2011 7 次提交
  3. 15 11月, 2011 1 次提交
    • L
      fsl-rio: fix compile error · e0ce42e1
      Liu Gang 提交于
      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: NLiu Gang <Gang.Liu@freescale.com>
      Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
      e0ce42e1
  4. 14 11月, 2011 7 次提交
  5. 13 11月, 2011 2 次提交
  6. 12 11月, 2011 17 次提交
  7. 11 11月, 2011 1 次提交
    • S
      arm/imx: fix imx6q mmc error when mounting rootfs · f750ba9b
      Shawn Guo 提交于
      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: NShawn Guo <shawn.guo@linaro.org>
      Cc: Chris Ball <cjb@laptop.org>
      Cc: Sascha Hauer <s.hauer@pengutronix.de>
      Signed-off-by: NSascha Hauer <s.hauer@pengutronix.de>
      f750ba9b