1. 26 2月, 2016 1 次提交
  2. 16 2月, 2016 3 次提交
  3. 29 1月, 2016 5 次提交
    • F
      video: fbdev: imxfb: Provide a reset mechanism · b82fe6dd
      Fabio Estevam 提交于
      Currently when we boot the kernel on a mx25pdk the LCDC controller
      does not show the Linux logo on boot.
      
      This problem is well explained by Sascha Hauer:
      
      "Unfortunately this LCD controller does not have an enable bit. The
      controller starts directly when the clocks are enabled. If the clocks
      are enabled when the controller is not yet programmed with proper
      register values then it just goes into some undefined state. What I
      suspect is that the clocks already were enabled before driver probe,
      presumably by the bootloader, so the controller is already in undefined
      state when entering Linux. Now by dis/enabling the ipg clock you
      effectively reset the controller. Since you have programmed it with
      valid register values in the mean time it starts working after this
      reset."
      
      So do as suggested and force a reset of the LCDC hardware by
      enabling and disabling the IPG clock.
      
      With this change the Linux logo can be seen on boot on a mx25pdk.
      Signed-off-by: NFabio Estevam <fabio.estevam@nxp.com>
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      b82fe6dd
    • A
      fbdev: mmp: print IRQ resource using %pR format string · c3a2da26
      Arnd Bergmann 提交于
      resource_size_t cannot be printed using the %x format string
      when we it is defined as u64:
      
      drivers/video/fbdev/mmp/hw/mmp_ctrl.c: In function 'mmphw_probe':
      drivers/video/fbdev/mmp/hw/mmp_ctrl.c:506:22: error: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'resource_size_t {aka long long unsigned int}' [-Werror=format=]
         dev_err(ctrl->dev, "%s: res %x - %x map failed\n", __func__,
                            ^
      drivers/video/fbdev/mmp/hw/mmp_ctrl.c:506:22: error: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'resource_size_t {aka long long unsigned int}' [-Werror=format=]
      
      This changes the format string to %pR, which is interpreted
      by the printk implementation to pretty-print a resource
      structure.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      c3a2da26
    • A
      fbdev: da8xx-fb: remove incorrect type cast · ef88ee4e
      Arnd Bergmann 提交于
      The probe function correct passes a dma_addr_t pointer into
      dma_alloc_coherent(), but has a cast to resource_size_t, which
      might be different from dma_addr_t:
      
      drivers/video/fbdev/da8xx-fb.c: In function 'fb_probe':
      drivers/video/fbdev/da8xx-fb.c:1431:10: error: passing argument 3 of 'dma_alloc_coherent' from incompatible pointer type [-Werror=incompatible-pointer-types]
      
      This removes the cast, which avoids the warning.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      ef88ee4e
    • A
      fbdev: s6e8ax0: avoid unused function warnings · b54729b6
      Arnd Bergmann 提交于
      The s6e8ax0 suspend/resume functions are hidden inside of an #ifdef
      when CONFIG_PM is set to avoid unused function warnings, but they
      call some other functions that nothing else calls, and we get warnings
      about those:
      
      drivers/video/fbdev/exynos/s6e8ax0.c:449:13: error: 's6e8ax0_sleep_in' defined but not used [-Werror=unused-function]
      drivers/video/fbdev/exynos/s6e8ax0.c:485:13: error: 's6e8ax0_display_off' defined but not used [-Werror=unused-function]
      
      This marks the PM functions as __maybe_unused so the compiler can
      silently drop them when they are not referenced.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Reviewed-by: NKrzysztof Kozlowski <k.kozlowski@samsung.com>
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      b54729b6
    • A
      ocfb: fix tgdel and tvdel timing parameters · 87df1b2a
      Andrea Merello 提交于
      According to the ocfb documentation:
      Fix tgdel HW param should be left margin, not right.
      Fix tvdel HW param should upper margin, not lower.
      
      This seems to fix lock issues on certain monitors (tested on a
      slightly customized IP, but the FPGA guy said that it should
      be the same wrt this changes).
      Signed-off-by: NAndrea Merello <andrea.merello@gmail.com>
      Acked-by: NStefan Kristiansson <stefan.kristiansson@saunalahti.fi>
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      87df1b2a
  4. 23 1月, 2016 1 次提交
    • A
      wrappers for ->i_mutex access · 5955102c
      Al Viro 提交于
      parallel to mutex_{lock,unlock,trylock,is_locked,lock_nested},
      inode_foo(inode) being mutex_foo(&inode->i_mutex).
      
      Please, use those for access to ->i_mutex; over the coming cycle
      ->i_mutex will become rwsem, with ->lookup() done with it held
      only shared.
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      5955102c
  5. 18 1月, 2016 1 次提交
  6. 07 1月, 2016 1 次提交
  7. 05 1月, 2016 1 次提交
  8. 29 12月, 2015 27 次提交