1. 21 10月, 2010 28 次提交
  2. 20 10月, 2010 1 次提交
  3. 19 10月, 2010 1 次提交
  4. 18 10月, 2010 5 次提交
  5. 17 10月, 2010 1 次提交
  6. 16 10月, 2010 2 次提交
    • L
      v4l1: fix 32-bit compat microcode loading translation · 3e645d6b
      Linus Torvalds 提交于
      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
      lucky).
      Reported-by: NKees Cook <kees.cook@canonical.com>
      Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
      Cc: stable@kernel.org
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      3e645d6b
    • O
      mmc: sdio: fix SDIO suspend/resume regression · 1c8cf9c9
      Ohad Ben-Cohen 提交于
      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: NSven Neumann <s.neumann@raumfeld.com>
      Signed-off-by: NOhad Ben-Cohen <ohad@wizery.com>
      Cc: Maxim Levitsky <maximlevitsky@gmail.com>
      Cc: <stable@kernel.org>
      Acked-by: NNicolas Pitre <nico@fluxnic.net>
      Signed-off-by: NChris Ball <cjb@laptop.org>
      1c8cf9c9
  7. 14 10月, 2010 2 次提交