1. 16 Jan, 2014 1 commit
    • Benjamin Tisssoires's avatar
      HID: logitech-dj: Fix USB 3.0 issue · 42c22dbf
      Benjamin Tisssoires authored
      This fix (not very clean though) should fix the long time USB3
      issue that was spotted last year. The rational has been given by
      Hans de Goede:
      
       ----
      
      I think the most likely cause for this is a firmware bug
      in the unifying receiver, likely a race condition.
      
      The most prominent difference between having a USB-2 device
      plugged into an EHCI (so USB-2 only) port versus an XHCI
      port will be inter packet timing. Specifically if you
      send packets (ie hid reports) one at a time, then with
      the EHCI controller their will be a significant pause
      between them, where with XHCI they will be very close
      together in time.
      
      The reason for this is the difference in EHCI / XHCI
      controller OS <-> driver interfaces.
      
      For non periodic endpoints (control, bulk) the EHCI uses a
      circular linked-list of commands in dma-memory, which it
      follows to execute commands, if the list is empty, it
      will go into an idle state and re-check periodically.
      
      The XHCI uses a ring of commands per endpoint, and if the OS
      places anything new on the ring it will do an ioport write,
      waking up the XHCI making it send the new packet immediately.
      
      For periodic transfers (isoc, interrupt) the delay between
      packets when sending one at a time (rather then queuing them
      up) will be even larger, because they need to be inserted into
      the EHCI schedule 2 ms in the future so the OS driver can be
      sure that the EHCI driver does not try to start executing the
      time slot in question before the insertion has completed.
      
      So a possible fix may be to insert a delay between packets
      being send to the receiver.
      
       ----
      
      I tested this on a buggy Haswell USB 3.0 motherboard, and I always
      get the notification after adding the msleep.
      Signed-off-by: default avatarBenjamin Tissoires <benjamin.tissoires@redhat.com>
      Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
      42c22dbf
  2. 06 Jan, 2014 1 commit
  3. 20 Dec, 2013 1 commit
  4. 17 Dec, 2013 1 commit
  5. 16 Dec, 2013 1 commit
  6. 13 Dec, 2013 1 commit
  7. 03 Dec, 2013 1 commit
    • Olivier Gay's avatar
      HID: logitech-dj: add HIDRAW dependency in Kconfig · dcdc50e7
      Olivier Gay authored
      hid-logitech-dj.c driver needs hidraw to work correctly. Without
      hidraw, hid-logitech-dj.c fails during probe() and Logitech
      Unifying devices HID reports aren't recognized.
      
      The unifying receiver has 3 usb interfaces. When hid-logitech-dj driver is
      loaded, interfaces 0 and 1 are discarded.
      
      Interface 2 consists of a hid class interface with 3 collections, each of
      which sports the 'vendor' usage, thus, there is no reason for hid_input to
      claim any of them. On the other hand, hidraw has no issue in claiming the
      collections, even if they are 'vendor'. As of today, hid-logitech-dj uses
      hidraw api to send configuration/control reports to interface 2 of the
      Unifying receiver.
      
      Without the hid-logitech-dj driver, interfaces 0 and 1 are claimed by
      hid-input, as they correspond to a keyboard and a mouse. But that is not
      relevant to the discussion.
      
      [jkosina@suse.cz: make the changelog more verbose, thanks to Nestor]
      Signed-off-by: default avatarOlivier Gay <ogay@logitech.com>
      Signed-off-by: default avatarNestor Lopez Casado <nlopezcasad@logitech.com>
      Signed-off-by: default avatarMathieu Meisser <mmeisser@logitech.com>
      Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
      dcdc50e7
  8. 02 Dec, 2013 5 commits
  9. 19 Nov, 2013 1 commit
  10. 16 Nov, 2013 6 commits
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid · e0da5c9a
      Linus Torvalds authored
      Pull HID updates from Jiri Kosina:
       - i2c-hid is not querying init reports any more, as it's not mandated
         by the spec, and annoys quite a few devices during enumeration, by
         Bibek Basu
       - a lot of fixes for Logitech devices, by Simon Wood
       - hid-apple now has an option to switch between Option and Command
         mode, by Nanno Langstraat
       - Some more workarounds for severely broken ELO devices, by Oliver
         Neukum
       - more devm conversions, by Benjamin Tissoires
       - wiimote correctness fixes, by David Herrmann
       - a lot of added support for various new device IDs and random small
         fixes here and there"
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid: (34 commits)
        HID: enable Mayflash USB Gamecube Adapter
        HID: sony: Add force feedback support for Dualshock3 USB
        Input: usbtouchscreen: ignore eGalax/D-Wav/EETI HIDs
        HID: don't ignore eGalax/D-Wav/EETI HIDs
        HID: roccat: add missing special driver declarations
        HID:hid-lg4ff: Correct Auto-center strength for wheels other than MOMO and MOMO2
        HID:hid-lg4ff: Initialize device properties before we touch autocentering.
        HID:hid-lg4ff: ensure ConstantForce is disabled when set to 0
        HID:hid-lg4ff: Switch autocentering off when strength is set to zero.
        HID:hid-lg4ff: Scale autocentering force properly on Logitech wheel
        HID: roccat: fix Coverity CID 141438
        HID: multitouch: add manufacturer to Kconfig help text
        HID: logitech-dj: small cleanup in rdcat()
        HID: remove self-assignment from hid_input_report
        HID: hid-sensor-hub: fix report size
        HID: i2c-hid: Stop querying for init reports
        HID: roccat: add support for Ryos MK keyboards
        HID: roccat: generalize some common code
        HID: roccat: add new device return value
        HID: wiimote: add pro-controller analog stick calibration
        ...
      e0da5c9a
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial · 9073e1a8
      Linus Torvalds authored
      Pull trivial tree updates from Jiri Kosina:
       "Usual earth-shaking, news-breaking, rocket science pile from
        trivial.git"
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (23 commits)
        doc: usb: Fix typo in Documentation/usb/gadget_configs.txt
        doc: add missing files to timers/00-INDEX
        timekeeping: Fix some trivial typos in comments
        mm: Fix some trivial typos in comments
        irq: Fix some trivial typos in comments
        NUMA: fix typos in Kconfig help text
        mm: update 00-INDEX
        doc: Documentation/DMA-attributes.txt fix typo
        DRM: comment: `halve' -> `half'
        Docs: Kconfig: `devlopers' -> `developers'
        doc: typo on word accounting in kprobes.c in mutliple architectures
        treewide: fix "usefull" typo
        treewide: fix "distingush" typo
        mm/Kconfig: Grammar s/an/a/
        kexec: Typo s/the/then/
        Documentation/kvm: Update cpuid documentation for steal time and pv eoi
        treewide: Fix common typo in "identify"
        __page_to_pfn: Fix typo in comment
        Correct some typos for word frequency
        clk: fixed-factor: Fix a trivial typo
        ...
      9073e1a8
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input · 4937e2a6
      Linus Torvalds authored
      Pull input updates from Dmitry Torokhov:
       "Updates for the input subsystem.  You will get an new drivers for
        Hyper-V synthetic keyboard and for Neonode zForce touchscreens, plus a
        bunch of driver fixes and cleanups"
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: (49 commits)
        Revert "Input: ALPS - add support for model found on Dell XT2"
        arm: dts: am335x sk: add touchscreen support
        Input: ti_am335x_tsc - fix spelling mistake in TSC/ADC DT binding
        Input: cyttsp4 - replace IS_ERR and PTR_ERR with PTR_ERR_OR_ZERO
        Input: mma8450 - add missing i2c_set_clientdata() in mma8450_probe()
        Input: mpu3050 - add missing i2c_set_clientdata() in mpu3050_probe()
        Input: tnetv107x-keypad - make irqs signed for error handling
        Input: add driver for Neonode zForce based touchscreens
        Input: sh_keysc - enable the driver on all ARM platforms
        Input: remove a redundant max() call
        Input: mousedev - allow disabling even without CONFIG_EXPERT
        Input: allow deselecting serio drivers even without CONFIG_EXPERT
        Input: i8042 - add PNP modaliases
        Input: evdev - fall back to vmalloc for client event buffer
        Input: cypress_ps2 - do not consider data bad if palm is detected
        Input: cypress_ps2 - remove useless cast
        Input: fix PWM-related undefined reference errors
        Input: ALPS - change secondary device's name
        Input: wacom - not all multi-interface devices support touch
        Input: nspire-keypad - add missing clk_disable_unprepare() on error path
        ...
      4937e2a6
    • Linus Torvalds's avatar
      Merge tag 'mfd-3.13-1' of git://git.kernel.org/pub/scm/linux/kernel/git/sameo/mfd-next · db0b2d01
      Linus Torvalds authored
      Pull MFD updates from Samuel Ortiz:
       "For the 3.13 merge window we have a couple of new drivers for the AMS
        AS3722 PMIC and for STMicroelectronics STw481x PMIC.
      
        Although this is a smaller update than usual, we also have:
      
         - Device tree support for the max77693 driver
      
         - linux/of.h inclusion for all DT compatible MFD drivers, to avoid
           build breakage in the future
      
         - Support for Intel Wildcat Point-LP PCH through the lpc_ich driver
      
         - A small arizona update for new wm5110 DSP registers and a few fixes
      
         - A small palmas update as well, including an of_device table
           addition and a few minor fixes
      
         - Two small mfd-core changes, one including a memory leak fix for
           when mfd_add_device() fails
      
         - Our usual round of minor cleanups and janitorial fixes"
      
      * tag 'mfd-3.13-1' of git://git.kernel.org/pub/scm/linux/kernel/git/sameo/mfd-next: (63 commits)
        Documentation: mfd: Update s2mps11.txt
        mfd: pm8921: Potential NULL dereference in pm8921_remove()
        mfd: Fix memory leak in mfd_add_devices()
        mfd: Stop setting refcounting pointers in original mfd_cell arrays
        mfd: wm5110: Enable micd clamp functionality
        mfd: lpc_ich: Add Device IDs for Intel Wildcat Point-LP PCH
        mfd: max77693: Fix up bug of wrong interrupt number
        mfd: as3722: Don't export the regmap config
        mfd: twl6040: Remove obsolete cleanup for i2c clientdata
        mfd: tps65910: Remove warning during dt node parsing
        mfd: lpc_sch: Ignore resource conflicts when adding mfd cells
        mfd: ti_am335x_tscadc: Avoid possible deadlock of reg_lock
        mfd: syscon: Return -ENOSYS if CONFIG_MFD_SYSCON is not enabled
        mfd: Add support for ams AS3722 PMIC
        mfd: max77693: Include linux/of.h header
        mfd: tc3589x: Detect the precise version
        mfd: omap-usb: prepare/unprepare clock while enable/disable
        mfd: max77686: Include linux/of.h header
        mfd: max8907: Include linux/of.h header
        mfd: max8997: Include linux/of.h header
        ...
      db0b2d01
    • Linus Torvalds's avatar
      Merge branch 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging · 16cd9d1c
      Linus Torvalds authored
      Pull hwmon fixes and updates from Jean Delvare:
       "All lm90 driver fixes and improvements"
      
      * 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging:
        Documentation: dt: hwmon: Add OF document for LM90
        hwmon: (lm90) Add power control
        hwmon: (lm90) Add support for TI TMP451
        hwmon: (lm90) Use enums for the indexes of temp8 and temp11
        hwmon: (lm90) Add support to handle IRQ
        hwmon: (lm90) Define status bits
        hwmon: (lm90) Fix max6696 alarm handling
      16cd9d1c
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.dk/linux-block · f412f2c6
      Linus Torvalds authored
      Pull second round of block driver updates from Jens Axboe:
       "As mentioned in the original pull request, the bcache bits were pulled
        because of their dependency on the immutable bio vecs.  Kent re-did
        this part and resubmitted it, so here's the 2nd round of (mostly)
        driver updates for 3.13.  It contains:
      
       - The bcache work from Kent.
      
       - Conversion of virtio-blk to blk-mq.  This removes the bio and request
         path, and substitutes with the blk-mq path instead.  The end result
         almost 200 deleted lines.  Patch is acked by Asias and Christoph, who
         both did a bunch of testing.
      
       - A removal of bootmem.h include from Grygorii Strashko, part of a
         larger series of his killing the dependency on that header file.
      
       - Removal of __cpuinit from blk-mq from Paul Gortmaker"
      
      * 'for-linus' of git://git.kernel.dk/linux-block: (56 commits)
        virtio_blk: blk-mq support
        blk-mq: remove newly added instances of __cpuinit
        bcache: defensively handle format strings
        bcache: Bypass torture test
        bcache: Delete some slower inline asm
        bcache: Use ida for bcache block dev minor
        bcache: Fix sysfs splat on shutdown with flash only devs
        bcache: Better full stripe scanning
        bcache: Have btree_split() insert into parent directly
        bcache: Move spinlock into struct time_stats
        bcache: Kill sequential_merge option
        bcache: Kill bch_next_recurse_key()
        bcache: Avoid deadlocking in garbage collection
        bcache: Incremental gc
        bcache: Add make_btree_freeing_key()
        bcache: Add btree_node_write_sync()
        bcache: PRECEDING_KEY()
        bcache: bch_(btree|extent)_ptr_invalid()
        bcache: Don't bother with bucket refcount for btree node allocations
        bcache: Debug code improvements
        ...
      f412f2c6
  11. 15 Nov, 2013 21 commits