1. 20 7月, 2017 4 次提交
  2. 30 6月, 2017 2 次提交
  3. 27 6月, 2017 1 次提交
  4. 23 6月, 2017 3 次提交
  5. 22 6月, 2017 1 次提交
  6. 21 6月, 2017 2 次提交
  7. 20 6月, 2017 1 次提交
  8. 13 6月, 2017 2 次提交
    • J
      HID: let generic driver yield control iff specific driver has been enabled · 0ca4cd7b
      Jiri Kosina 提交于
      There are many situations where generic HID driver provides some basic level
      of support for certain device, but later this support (usually by implementing
      vendor-specific extensions of HID protocol) is extended and the support moved
      over to a separate (usually per-vendor) specific driver.
      
      This might bring a rather unpleasant suprise for users, as all of a sudden
      there is a new config option they have to enable in order to get any support
      for their device whatsoever, although previous kernel versions provided basic
      support through the generic driver. Which is rightfully seen as a regression.
      
      Fix this by including the entry for a particular device in
      hid_have_special_driver[] iff the specific config option has been specified,
      and let generic driver handle the device otherwise.
      Also make the behavior of hid_scan_report() (where the same decision is being
      taken on a per-report level) consistent.
      
      While at it, reshuffle the hid_have_special_driver[] a bit to restore the
      alphabetical ordering (first order by config option, and within those
      sections order by VID).
      
      This is considered a short-term solution, before generic way of giving
      precedence to special drivers and falling back to generic driver is
      figured out.
      
      While at it, fixup a missing entry for GFRM driver; thanks to Hans de Geode for
      spotting this (and for discovering a few issues in the conversion).
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      0ca4cd7b
    • A
      HID: core: don't use negative operands when shift · 08585e43
      Andy Shevchenko 提交于
      The recent C standard in 6.5.7 paragraph 4 defines that operands for
      bitwise shift operators should be non-negative, otherwise it's an
      undefined behaviour.
      Signed-off-by: NAndy Shevchenko <andy.shevchenko@gmail.com>
      Acked-by: NBenjamin Tissoires <benjamin.tissoires@redhat.com>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      08585e43
  9. 12 6月, 2017 1 次提交
  10. 09 6月, 2017 1 次提交
  11. 08 6月, 2017 9 次提交
  12. 07 6月, 2017 1 次提交
  13. 06 6月, 2017 1 次提交
  14. 02 6月, 2017 1 次提交
  15. 30 5月, 2017 5 次提交
  16. 29 5月, 2017 1 次提交
  17. 22 5月, 2017 3 次提交
  18. 11 5月, 2017 1 次提交