1. 11 9月, 2012 3 次提交
    • P
      EHCI: Update qTD next pointer in QH overlay region during unlink · 3d037774
      Pavankumar Kondeti 提交于
      There is a possibility of QH overlay region having reference to a stale
      qTD pointer during unlink.
      
      Consider an endpoint having two pending qTD before unlink process begins.
      The endpoint's QH queue looks like this.
      
      qTD1 --> qTD2 --> Dummy
      
      To unlink qTD2, QH is removed from asynchronous list and Asynchronous
      Advance Doorbell is programmed.  The qTD1's next qTD pointer is set to
      qTD2'2 next qTD pointer and qTD2 is retired upon controller's doorbell
      interrupt.  If QH's current qTD pointer points to qTD1, transfer overlay
      region still have reference to qTD2. But qtD2 is just unlinked and freed.
      This may cause EHCI system error.  Fix this by updating qTD next pointer
      in QH overlay region with the qTD next pointer of the current qTD.
      Signed-off-by: NPavankumar Kondeti <pkondeti@codeaurora.org>
      Acked-by: NAlan Stern <stern@rowland.harvard.edu>
      Cc: stable <stable@vger.kernel.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      3d037774
    • B
      USB: cdc-wdm: fix wdm_find_device* return value · 6a448868
      Bjørn Mork 提交于
      A logic error made the wdm_find_device* functions
      return a bogus pointer into static data instead of
      the intended NULL no matching device was found.
      
      Cc: stable <stable@vger.kernel.org> # v3.4+
      Cc: Oliver Neukum <oliver@neukum.org>
      Signed-off-by: NBjørn Mork <bjorn@mork.no>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      6a448868
    • B
      USB: ftdi_sio: do not claim CDC ACM function · f08dea73
      Bjørn Mork 提交于
      The Microchip vid:pid 04d8:000a is used for their CDC ACM
      demo firmware application.  This is a device with a single
      function conforming to the CDC ACM specification and with
      the intention of demonstrating CDC ACM class firmware and
      driver interaction.  The demo is used on a number of
      development boards, and may also be used unmodified by
      vendors using Microchip hardware.
      
      Some vendors have re-used this vid:pid for other types of
      firmware, emulating FTDI chips. Attempting to continue to
      support such devices without breaking class based
      applications that by matching on interface
      class/subclass/proto being ff/ff/00.  I have no information
      about the actual device or interface descriptors, but this
      will at least make the proper CDC ACM devices work again.
      Anyone having details of the offending device's descriptors
      should update this entry with the details.
      Reported-by: NFlorian Wöhrl <fw@woehrl.biz>
      Reported-by: NXiaofan Chen <xiaofanc@gmail.com>
      Cc: stable <stable@vger.kernel.org>
      Cc: Alan Cox <alan@linux.intel.com>
      Cc: Bruno Thomsen <bruno.thomsen@gmail.com>
      Signed-off-by: NBjørn Mork <bjorn@mork.no>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      f08dea73
  2. 07 9月, 2012 14 次提交
  3. 06 9月, 2012 10 次提交
  4. 05 9月, 2012 2 次提交
  5. 02 9月, 2012 2 次提交
    • L
      Linux 3.6-rc4 · 4cbe5a55
      Linus Torvalds 提交于
      4cbe5a55
    • J
      time: Move ktime_t overflow checking into timespec_valid_strict · cee58483
      John Stultz 提交于
      Andreas Bombe reported that the added ktime_t overflow checking added to
      timespec_valid in commit 4e8b1452 ("time: Improve sanity checking of
      timekeeping inputs") was causing problems with X.org because it caused
      timeouts larger then KTIME_T to be invalid.
      
      Previously, these large timeouts would be clamped to KTIME_MAX and would
      never expire, which is valid.
      
      This patch splits the ktime_t overflow checking into a new
      timespec_valid_strict function, and converts the timekeeping codes
      internal checking to use this more strict function.
      Reported-and-tested-by: NAndreas Bombe <aeb@debian.org>
      Cc: Zhouping Liu <zliu@redhat.com>
      Cc: Ingo Molnar <mingo@kernel.org>
      Cc: Prarit Bhargava <prarit@redhat.com>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: stable@vger.kernel.org
      Signed-off-by: NJohn Stultz <john.stultz@linaro.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      cee58483
  6. 01 9月, 2012 3 次提交
  7. 31 8月, 2012 1 次提交
    • L
      Merge branch 'drm-fixes' of git://people.freedesktop.org/~airlied/linux · 155e36d4
      Linus Torvalds 提交于
      Pull drm fixes from Dave Airlie:
       "A bunch of scattered fixes ati/intel/nouveau, couple of core ones,
        nothing too shocking or different."
      
      * 'drm-fixes' of git://people.freedesktop.org/~airlied/linux:
        drm: Add EDID_QUIRK_FORCE_REDUCED_BLANKING for ASUS VW222S
        gma500: Consider CRTC initially active.
        drm/radeon: fix dig encoder selection on DCE61
        drm/radeon: fix double free in radeon_gpu_reset
        drm/radeon: force dma32 to fix regression rs4xx,rs6xx,rs740
        drm/radeon: rework panel mode setup
        drm/radeon/atom: powergating fixes for DCE6
        drm/radeon/atom: rework DIG modesetting on DCE3+
        drm/radeon: don't disable plls that are in use by other crtcs
        drm/radeon: add proper checking of RESOLVE_BOX command for r600-r700
        drm/radeon: initialize tracked CS state
        drm/radeon: fix reading CB_COLORn_MASK from the CS
        drm/nvc0/copy: check PUNITS to determine which copy engines are disabled
        i915: Quirk no_lvds on Gigabyte GA-D525TUD ITX motherboard
        drm/i915: Use the correct size of the GTT for placing the per-process entries
        drm: Check for invalid cursor flags
        drm: Initialize object type when using DRM_MODE() macro
        drm/i915: fix color order for BGR formats on IVB
        drm/i915: fix wrong order of parameters in port checking functions
      155e36d4
  8. 30 8月, 2012 5 次提交