1. 21 Oct, 2010 21 commits
  2. 20 Oct, 2010 1 commit
  3. 19 Oct, 2010 1 commit
  4. 18 Oct, 2010 3 commits
  5. 17 Oct, 2010 4 commits
  6. 15 Oct, 2010 2 commits
    • Linus Torvalds's avatar
      v4l1: fix 32-bit compat microcode loading translation · 3e645d6b
      Linus Torvalds authored
      The compat code for the VIDIOCSMICROCODE ioctl is totally buggered.
      It's only used by the VIDEO_STRADIS driver, and that one is scheduled to
      staging and eventually removed unless somebody steps up to maintain it
      (at which point it should use request_firmware() rather than some magic
      ioctl).  So we'll get rid of it eventually.
      But in the meantime, the compatibility ioctl code is broken, and this
      tries to get it to at least limp along (even if Mauro suggested just
      deleting it entirely, which may be the right thing to do - I don't think
      the compatibility translation code has ever worked unless you were very
      Reported-by: default avatarKees Cook <kees.cook@canonical.com>
      Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
      Cc: stable@kernel.org
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    • Ohad Ben-Cohen's avatar
      mmc: sdio: fix SDIO suspend/resume regression · 1c8cf9c9
      Ohad Ben-Cohen authored
      Fix SDIO suspend/resume regression introduced by 4c2ef25f "mmc: fix
      all hangs related to mmc/sd card insert/removal during suspend/resume":
        PM: Syncing filesystems ... done.
        Freezing user space processes ... (elapsed 0.01 seconds) done.
        Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.
        Suspending console(s) (use no_console_suspend to debug)
        pm_op(): platform_pm_suspend+0x0/0x5c returns -38
        PM: Device pxa2xx-mci.0 failed to suspend: error -38
        PM: Some devices failed to suspend
      4c2ef25f moved the card removal/insertion mechanism out of MMC's
      suspend/resume path and into pm notifiers (mmc_pm_notify), and that
      broke SDIO's expectation that mmc_suspend_host() will remove the card,
      and squash the error, in case -ENOSYS is returned from the bus suspend
      handler (mmc_sdio_suspend() in this case).
      mmc_sdio_suspend() is using this whenever at least one of the card's SDIO
      function drivers does not have suspend/resume handlers - in that case
      it is agreed to force removal of the entire card.
      This patch fixes this regression by trivially bringing back that part of
      mmc_suspend_host(), which was removed by 4c2ef25f.
      Reported-and-tested-by: default avatarSven Neumann <s.neumann@raumfeld.com>
      Signed-off-by: default avatarOhad Ben-Cohen <ohad@wizery.com>
      Cc: Maxim Levitsky <maximlevitsky@gmail.com>
      Cc: <stable@kernel.org>
      Acked-by: default avatarNicolas Pitre <nico@fluxnic.net>
      Signed-off-by: default avatarChris Ball <cjb@laptop.org>
  7. 13 Oct, 2010 4 commits
    • Dan Williams's avatar
      ioat2: fix performance regression · c50a898f
      Dan Williams authored
      Commit 07934481 "DMAENGINE: generic channel status v2" changed the interface for
      how dma channel progress is retrieved.  It inadvertently exported an internal
      helper function ioat_tx_status() instead of ioat_dma_tx_status().  The latter
      polls the hardware to get the latest completion state, while the helper just
      evaluates the current state without touching hardware.  The effect is that we
      end up waiting for completion timeouts or descriptor allocation errors before
      the completion state is updated.
      iperf (before fix):
      [SUM]  0.0-41.3 sec   364 MBytes  73.9 Mbits/sec
      iperf (after fix):
      [SUM]  0.0- 4.5 sec   499 MBytes   940 Mbits/sec
      This is a regression starting with 2.6.35.
      Cc: <stable@kernel.org>
      Cc: Dave Jiang <dave.jiang@intel.com>
      Cc: Jesse Brandeburg <jesse.brandeburg@intel.com>
      Cc: Linus Walleij <linus.walleij@stericsson.com>
      Cc: Maciej Sosnowski <maciej.sosnowski@intel.com>
      Reported-by: default avatarRichard Scobie <richard@sauce.co.nz>
      Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
    • Breno Leitao's avatar
      ehea: Fix a checksum issue on the receive path · 71085ce8
      Breno Leitao authored
      Currently we set all skbs with CHECKSUM_UNNECESSARY, even
      those whose protocol we don't know. This patch just
      add the CHECKSUM_COMPLETE tag for non TCP/UDP packets.
      Reported-by: default avatarEric Dumazet <eric.dumazet@gmail.com>
      Signed-off-by: default avatarBreno Leitao <leitao@linux.vnet.ibm.com>
      Signed-off-by: default avatarJay Vosburgh <fubar@us.ibm.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    • Greg Ungerer's avatar
      net: allow FEC driver to use fixed PHY support · 6fcc040f
      Greg Ungerer authored
      At least one board using the FEC driver does not have a conventional
      PHY attached to it, it is directly connected to a somewhat simple
      ethernet switch (the board is the SnapGear/LITE, and the attached
      4-port ethernet switch is a RealTek RTL8305). This switch does not
      present the usual register interface of a PHY, it presents nothing.
      So a PHY scan will find nothing - it finds ID's of 0 for each PHY
      on the attached MII bus.
      After the FEC driver was changed to use phylib for supporting PHYs
      it no longer works on this particular board/switch setup.
      Add code support to use a fixed phy if no PHY is found on the MII bus.
      This is based on the way the cpmac.c driver solved this same problem.
      Signed-off-by: default avatarGreg Ungerer <gerg@uclinux.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    • François Jaouen's avatar
      HID: Add Cando touch screen 15.6-inch product id · 272036ed
      François Jaouen authored
      This add the product id of the touch screen found on ACER Aspire 5738PZ.  Works
      with hid-cando driver.
      Signed-off-by: Francois Jaouen<francois.jaouen@laposte.net>
      Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
  8. 12 Oct, 2010 4 commits