1. 18 11月, 2011 3 次提交
    • T
      OMAPDSS: DISPC: skip scaling calculations when not scaling · f95cb5eb
      Tomi Valkeinen 提交于
      Current code calculates scaling factors for video overlays even when the
      overlays are not scaled. Change the code to skip calculations when not
      scaling.
      
      This optimizes the code a bit, but also fixes a problem when configuring
      an overlay for a disabled display: if the display is disabled we don't
      necessarily know the pixel clock used when the display is enabled, and
      in some cases (like HDMI) the pixel clock is set to zero until a proper
      video mode is set later. A wrong pixel clock will mess up the
      scaling calculations, causing an error like:
      
      omapdss DISPC error: failed to set up scaling, required fclk rate = 0
      Hz, current fclk rate = 170666666 Hz
      
      A proper fix would be to check later whether the clocks are enough for the
      scaling, at the point when the overlay or display is actually enabled,
      but this patch removes the problem for now.
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      f95cb5eb
    • T
      OMAPFB: fix compilation warnings due to missing include · 1c6bc899
      Tomi Valkeinen 提交于
      Fix warnings similar to this by including module.h:
      
      drivers/video/omap/dispc.c:276:1: warning: data definition has no type
      or storage class
      drivers/video/omap/dispc.c:276:1: warning: type defaults to 'int' in
      declaration of 'EXPORT_SYMBOL'
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      1c6bc899
    • T
      OMAPDSS: HDMI: fix returned HDMI pixel clock · ef319c6e
      Tomi Valkeinen 提交于
      hdmi_get_pixel_clock() returns the pixel clock in Hz, but the pck is
      stored as kHz. This means the return value has to be multiplied by 1000,
      not by 10000 as the code did.
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      ef319c6e
  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 3 次提交
    • 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
    • S
      arm/imx: fix AUTO_ZRELADDR selection · 1b929995
      Shawn Guo 提交于
      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: NShawn Guo <shawn.guo@linaro.org>
      Cc: Sascha Hauer <s.hauer@pengutronix.de>
      Signed-off-by: NSascha Hauer <s.hauer@pengutronix.de>
      1b929995
    • S
      arm/imx: fix the references to ARCH_MX3 · 59198b6c
      Shawn Guo 提交于
      The config symbol ARCH_MX3 has been removed by commit 'a89cf59b
      arm/imx: merge i.MX3 and i.MX6', and it should not be referenced
      any more.
      
      The patch also change ARCH_MX* to SOC_IMX* for other platforms.
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      Cc: Sascha Hauer <s.hauer@pengutronix.de>
      Signed-off-by: NSascha Hauer <s.hauer@pengutronix.de>
      59198b6c