1. 29 12月, 2010 1 次提交
  2. 01 12月, 2010 2 次提交
  3. 26 11月, 2010 1 次提交
  4. 25 11月, 2010 1 次提交
  5. 24 11月, 2010 9 次提交
  6. 18 11月, 2010 1 次提交
  7. 17 11月, 2010 3 次提交
    • D
      lxfb: Program panel v/h sync output polarity correctly · ad913da6
      Daniel Drake 提交于
      Commit b5c26f97 introduced some breakage for the OLPC XO-1 laptop,
      differences in the output video signal after the patch caused some problems
      with the XO's display controller chip.
      
      Reviewing of that commit against the AMD Geode LX Data Book, it seems
      that these bits were being set inversely. In both cases, active high
      output is denoted by a value of 0. See section 6.8.3.44 of the databook
      from February 2009 (Publication ID: 33234H)
      Signed-off-by: NDaniel Drake <dsd@laptop.org>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      ad913da6
    • D
      fbcmap: integer overflow bug · 1e7c7804
      Dan Carpenter 提交于
      There is an integer overflow in fb_set_user_cmap() because cmap->len * 2
      can wrap.  It's basically harmless.  Your terminal will be messed up
      until you type reset.
      
      This patch does three things to fix the bug.
      
      First, it checks the return value of fb_copy_cmap() in fb_alloc_cmap().
      That is enough to fix address the overflow.
      
      Second it checks for the integer overflow in fb_set_user_cmap().
      
      Lastly I wanted to cap "cmap->len" in fb_set_user_cmap() much lower
      because it gets used to determine the size of allocation.  Unfortunately
      no one knows what the limit should be.  Instead what this patch does
      is makes the allocation happen with GFP_KERNEL instead of GFP_ATOMIC
      and lets the kmalloc() decide what values of cmap->len are reasonable.
      To do this, the patch introduces a function called fb_alloc_cmap_gfp()
      which is like fb_alloc_cmap() except that it takes a GFP flag.
      Signed-off-by: NDan Carpenter <error27@gmail.com>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      1e7c7804
    • D
      fbcmap: cleanup white space in fb_alloc_cmap() · c353103d
      Dan Carpenter 提交于
      checkpatch.pl and Andrew Morton both complained about the indenting in
      fb_alloc_cmap()
      Signed-off-by: NDan Carpenter <error27@gmail.com>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      c353103d
  8. 16 11月, 2010 2 次提交
    • A
      fbdev: sh_mobile_lcdcfb: fix bug in reconfig() · cc267ec5
      Arnd Hannemann 提交于
      The function sh_mobile_fb_reconfig() contained a bug,
      which caused the line_length to be set wrongly, if a mode
      with a different X-resolution than the default one was chosen.
      This caused 1080p24 mode to not work on AP4EVB.
      Additionally the notifier chain was also called with the wrong
      mode.
      
      This patch fixes this, by using the X-resolution of the new
      mode instead of the old one to calculate line length and
      hands over the correct mode to the notifier chain.
      Signed-off-by: NArnd Hannemann <arnd@arndnet.de>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      cc267ec5
    • J
      i2c: Delete unused adapter IDs · dfdee5f0
      Jean Delvare 提交于
      Delete unused I2C adapter IDs. Special cases are:
      
      * I2C_HW_B_RIVA was still set in driver rivafb, however no other
        driver is ever looking for this value, so we can safely remove it.
      * I2C_HW_B_HDPVR is used in staging driver lirc_zilog, however no
        adapter ID is ever set to this value, so the code in question never
        runs. As the code additionally expects that I2C_HW_B_HDPVR may not
        be defined, we can delete it now and let the lirc_zilog driver
        maintainer rewrite this piece of code.
      
      Big thanks for Hans Verkuil for doing all the hard work :)
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      Acked-by: NJarod Wilson <jarod@redhat.com>
      Acked-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      Acked-by: NHans Verkuil <hverkuil@xs4all.nl>
      dfdee5f0
  9. 15 11月, 2010 1 次提交
  10. 12 11月, 2010 9 次提交
  11. 10 11月, 2010 6 次提交
  12. 28 10月, 2010 4 次提交