1. 18 11月, 2013 6 次提交
  2. 30 10月, 2013 1 次提交
    • L
      Fix a few incorrectly checked [io_]remap_pfn_range() calls · 7314e613
      Linus Torvalds 提交于
      Nico Golde reports a few straggling uses of [io_]remap_pfn_range() that
      really should use the vm_iomap_memory() helper.  This trivially converts
      two of them to the helper, and comments about why the third one really
      needs to continue to use remap_pfn_range(), and adds the missing size
      check.
      Reported-by: NNico Golde <nico@ngolde.de>
      Cc: stable@kernel.org
      Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org.
      7314e613
  3. 26 9月, 2013 6 次提交
  4. 19 9月, 2013 2 次提交
    • T
      OMAPDSS: DISPC: set irq_safe for runtime PM · 48664b21
      Tomi Valkeinen 提交于
      We have a bug with omapdrm, where omapdrm calls dispc's pm_runtime
      function in atomic context, and dispc's pm_runtime is not marked as
      irq_safe:
      
      BUG: sleeping function called from invalid context at drivers/base/power/runtime.c:952
      
      Dispc's runtime PM callbacks are irq safe, so we can just set the
      irq_safe flag to fix the issue.
      
      However, in the long term, I'd rather have omapdrm manage the runtime PM
      calls in a better way. Calling get/put for every small operation that
      touches the dispc registers is very inefficient. It'd be better and
      cleaner to have clear "in-use" and "not-in-use" states for dispc, so
      that we don't need to do register context restore for small operations,
      only to turn dispc off right afterwards.
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      48664b21
    • S
      OMAPDSS: Return right error during connector probe · 0fd95602
      Sathya Prakash M R 提交于
      While using HDMI connector driver with sil9022 encoder
      came across issue where connector driver is probed first.
      This resulted in error. A deffered probe solved this.
      Most connector drivers need a encoder driver as their
      video source. This patch ensures we do a probe defferal
      if video source is not present for connector drivers.
      Signed-off-by: NSathya Prakash M R <sathyap@ti.com>
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      0fd95602
  5. 12 9月, 2013 2 次提交
  6. 11 9月, 2013 1 次提交
    • V
      fbdev/ps3fb: Fix section mismatch warning for ps3fb_probe · 88c2d0b6
      Vladimir Murzin 提交于
      While cross-building for PPC64 I've got
      
      WARNING: drivers/video/built-in.o(.text+0x9f9ca): Section mismatch in
      reference from the function .ps3fb_probe() to th e variable
      .init.data:ps3fb_fix The function .ps3fb_probe() references the
      variable __initdata ps3fb_fix.  This is often because .ps3fb_probe
      lacks a __initdata annotation or the annotation of ps3fb_fix is wrong.
      
      WARNING: drivers/video/built-in.o(.text+0x9f9d2): Section mismatch in
      reference from the function .ps3fb_probe() to the variable
      .init.data:ps3fb_fix The function .ps3fb_probe() references the
      variable __initdata ps3fb_fix.  This is often because .ps3fb_probe
      lacks a __initdata annotation or the annotation of ps3fb_fix is wrong.
      
      WARNING: drivers/built-in.o(.text+0xe222a): Section mismatch in
      reference from the function .ps3fb_probe() to the variable
      .init.data:ps3fb_fix The function .ps3fb_probe() references the
      variable __initdata ps3fb_fix.  This is often because .ps3fb_probe
      lacks a __initdata annotation or the annotation of ps3fb_fix is wrong.
      
      WARNING: drivers/built-in.o(.text+0xe2232): Section mismatch in
      reference from the function .ps3fb_probe() to the variable
      .init.data:ps3fb_fix The function .ps3fb_probe() references the
      variable __initdata ps3fb_fix.  This is often because .ps3fb_probe
      lacks a __initdata annotation or the annotation of ps3fb_fix is wrong.
      
      WARNING: vmlinux.o(.text+0x561d4a): Section mismatch in reference from
      the function .ps3fb_probe() to the variable .init.data:ps3fb_fix The
      function .ps3fb_probe() references the variable __initdata ps3fb_fix.
      This is often because .ps3fb_probe lacks a __initdata annotation or
      the annotation of ps3fb_fix is wrong.
      
      Mismatch was introduced with 48c68c4f "Drivers: video: remove __dev*
      attributes."
      
      Remove __init data annotation from ps3fb_fix.
      Signed-off-by: NVladimir Murzin <murzin.v@gmail.com>
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      88c2d0b6
  7. 30 8月, 2013 20 次提交
  8. 29 8月, 2013 2 次提交