1. 29 8月, 2015 3 次提交
  2. 24 8月, 2015 1 次提交
  3. 19 8月, 2015 1 次提交
    • D
      HID: usbhid: Fix the check for HID_RESET_PENDING in hid_io_error · 3af4e5a9
      Don Zickus 提交于
      It was reported that after 10-20 reboots, a usb keyboard plugged
      into a docking station would not work unless it was replugged in.
      
      Using usbmon, it turns out the interrupt URBs were streaming with
      callback errors of -71 for some reason.  The hid-core.c::hid_io_error was
      supposed to retry and then reset, but the reset wasn't really happening.
      
      The check for HID_NO_BANDWIDTH was inverted.  Fix was simple.
      
      Tested by reporter and locally by me by unplugging a keyboard halfway until I
      could recreate a stream of errors but no disconnect.
      Signed-off-by: NDon Zickus <dzickus@redhat.com>
      Cc: stable@vger.kernel.org
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      3af4e5a9
  4. 18 8月, 2015 3 次提交
  5. 12 8月, 2015 3 次提交
  6. 11 8月, 2015 2 次提交
    • J
      HID: wacom: Simplify 'wacom_pl_irq' · 025bcc15
      Jason Gerecke 提交于
      Unlike other IRQ functions, 'wacom_pl_irq' uses the second element of
      the 'tool' array to store information about its single pen. This makes
      the function more difficult to understand (since it doesn't follow the
      general pattern of other IRQ functions) and prevents the possibility of
      refactoring how pen state is stored.
      
      This patch rewrites 'wacom_pl_irq' to follow the usual IRQ conventions,
      including storing tool type in 'tool[0]' and implicitly tracking prox
      with the 'id[0]' variable.
      Signed-off-by: NJason Gerecke <jason.gerecke@wacom.com>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      025bcc15
    • J
      HID: wacom: Report correct device resolution when using the wireless adapater · 0be01712
      Jason Gerecke 提交于
      The 'wacom_wireless_work' function does not recalculate the tablet's
      resolution, causing the value contained in the 'features' struct to
      always be reported to userspace. This value is valid only for the pen
      interface, meaning that the value will be incorrect for the touchpad (if
      present). This in particular causes problems for libinput which relies
      on the reported resolution being correct.
      
      This patch adds the necessary calls to recalculate the resolution for
      each interface. This requires a little bit of code shuffling since both
      the 'wacom_set_default_phy' and 'wacom_calculate_res' are declared below
      their new first point of use in 'wacom_wireless_work'.
      Signed-off-by: NJason Gerecke <jason.gerecke@wacom.com>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      0be01712
  7. 10 8月, 2015 10 次提交
  8. 08 8月, 2015 1 次提交
  9. 07 8月, 2015 2 次提交
  10. 06 8月, 2015 8 次提交
  11. 05 8月, 2015 5 次提交
  12. 04 8月, 2015 1 次提交
    • R
      xen/events/fifo: Handle linked events when closing a port · fcdf31a7
      Ross Lagerwall 提交于
      An event channel bound to a CPU that was offlined may still be linked
      on that CPU's queue.  If this event channel is closed and reused,
      subsequent events will be lost because the event channel is never
      unlinked and thus cannot be linked onto the correct queue.
      
      When a channel is closed and the event is still linked into a queue,
      ensure that it is unlinked before completing.
      
      If the CPU to which the event channel bound is online, spin until the
      event is handled by that CPU. If that CPU is offline, it can't handle
      the event, so clear the event queue during the close, dropping the
      events.
      
      This fixes the missing interrupts (and subsequent disk stalls etc.)
      when offlining a CPU.
      Signed-off-by: NRoss Lagerwall <ross.lagerwall@citrix.com>
      Cc: <stable@vger.kernel.org>
      Signed-off-by: NDavid Vrabel <david.vrabel@citrix.com>
      fcdf31a7