1. 24 12月, 2010 8 次提交
  2. 21 12月, 2010 1 次提交
  3. 18 12月, 2010 10 次提交
  4. 17 12月, 2010 12 次提交
  5. 16 12月, 2010 1 次提交
  6. 15 12月, 2010 5 次提交
    • T
      OMAP: OMAPFB: disable old omapfb for OMAP4 builds · b99ddbf8
      Tomi Valkeinen 提交于
      Build fails when OMAP4 and FB_OMAP are defined:
      
      drivers/built-in.o: In function `omapfb_do_probe':
      drivers/video/omap/omapfb_main.c:1773: undefined reference to `omap2_int_ctrl'
      
      Old omapfb does not work on OMAP4, and never will. Change the omapfb
      build dependency so that old omapfb depends on OMAP1/2/3, fixing the
      build for plain OMAP4 builds.
      Reported-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@nokia.com>
      b99ddbf8
    • T
      OMAP: DSS: VRAM: Align start & size of vram to 2M · 4422c04b
      Tomi Valkeinen 提交于
      Align the start address and size of VRAM area to 2M as per comments from
      Russell King:
      
      > > So, why SZ_2M?
      >
      > Firstly, that's the granularity which we allocate page tables - one
      > Linux page table covers 2MB of memory.  We want to avoid creating page
      > tables for the main memory mapping as that increases TLB pressure through
      > the use of additional TLB entries, and more page table walks.
      >
      > Plus, we never used to allow the kernel's direct memory mapping to be
      > mapped at anything less than section size - this restriction has since
      > been lifted due to OMAP SRAM problems, but I'd rather we stuck with it
      > to ensure that we have proper behaviour from all parts of the system.
      >
      > Secondly, we don't want to end up with lots of fragmentation at the end
      > of the memory mapping as that'll reduce performance, not only by making
      > the pfn_valid() search more expensive.
      >
      > Emsuring a minimum allocation size and alignment makes sure that the
      > regions can be coalesced together into one block, and minimises run-time
      > expenses.
      >
      > So please, 2MB, or if you object, at the _very_ _least_ 1MB.  But
      > definitely not PAGE_SIZE.
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@nokia.com>
      Acked-by: NTony Lindgren <tony@atomide.com>
      4422c04b
    • D
      Input: define separate EVIOCGKEYCODE_V2/EVIOCSKEYCODE_V2 · ab4e0192
      Dmitry Torokhov 提交于
      The desire to keep old names for the EVIOCGKEYCODE/EVIOCSKEYCODE while
      extending them to support large scancodes was a mistake. While we tried
      to keep ABI intact (and we succeeded in doing that, programs compiled
      on older kernels will work on newer ones) there is still a problem with
      recompiling existing software with newer kernel headers.
      
      New kernel headers will supply updated ioctl numbers and kernel will
      expect that userspace will use struct input_keymap_entry to set and
      retrieve keymap data. But since the names of ioctls are still the same
      userspace will happily compile even if not adjusted to make use of the
      new structure and will start miraculously fail in the field.
      
      To avoid this issue let's revert EVIOCGKEYCODE/EVIOCSKEYCODE definitions
      and add EVIOCGKEYCODE_V2/EVIOCSKEYCODE_V2 so that userspace can explicitly
      select the style of ioctls it wants to employ.
      Reviewed-by: NHenrik Rydberg <rydberg@euromail.se>
      Acked-by: NJarod Wilson <jarod@redhat.com>
      Acked-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
      ab4e0192
    • M
      dw_spi: Fix missing final read in some polling situations · 3d0b6087
      Major Lee 提交于
      There is a possibility that the last word of a transaction will be lost
      if data is not ready.  Re-read in poll_transfer() to solve this issue
      when poll_mode is enabled.
      
      Verified on SPI touch screen device.
      Signed-off-by: NMajor Lee <major_lee@wistron.com>
      Signed-off-by: NAlan Cox <alan@linux.intel.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      3d0b6087
    • A
      i2c_intel_mid: Fix slash in sysfs name · 54efdfeb
      Alan Cox 提交于
      This gets caught by the new sanity check code. Instead of the slash use a
      different symbol. This was originally found by Major Lee who proposed a
      rather more complex patch which changed the name according to the chip
      type.
      
      On the basis that we are in a late -rc and making Linus grumpy isn't always
      a good idea (however fun) this is a simple alternative.
      Signed-off-by: NAlan Cox <alan@linux.intel.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      54efdfeb
  7. 14 12月, 2010 3 次提交