1. 16 4月, 2018 1 次提交
  2. 30 3月, 2018 1 次提交
  3. 29 3月, 2018 1 次提交
  4. 23 3月, 2018 2 次提交
  5. 24 1月, 2018 1 次提交
  6. 27 12月, 2017 1 次提交
  7. 04 11月, 2017 2 次提交
  8. 18 9月, 2017 1 次提交
  9. 13 6月, 2017 2 次提交
  10. 17 5月, 2017 1 次提交
    • A
      USB: serial: ftdi_sio: add Olimex ARM-USB-TINY(H) PIDs · 5f63424a
      Andrey Korolyov 提交于
      This patch adds support for recognition of ARM-USB-TINY(H) devices which
      are almost identical to ARM-USB-OCD(H) but lacking separate barrel jack
      and serial console.
      
      By suggestion from Johan Hovold it is possible to replace
      ftdi_jtag_quirk with a bit more generic construction. Since all
      Olimex-ARM debuggers has exactly two ports, we could safely always use
      only second port within the debugger family.
      Signed-off-by: NAndrey Korolyov <andrey@xdel.ru>
      Cc: stable <stable@vger.kernel.org>
      Signed-off-by: NJohan Hovold <johan@kernel.org>
      5f63424a
  11. 15 5月, 2017 1 次提交
    • A
      USB: serial: ftdi_sio: fix setting latency for unprivileged users · bb246681
      Anthony Mallet 提交于
      Commit 557aaa7f ("ft232: support the ASYNC_LOW_LATENCY
      flag") enables unprivileged users to set the FTDI latency timer,
      but there was a logic flaw that skipped sending the corresponding
      USB control message to the device.
      
      Specifically, the device latency timer would not be updated until next
      open, something which was later also inadvertently broken by commit
      c19db4c9 ("USB: ftdi_sio: set device latency timeout at port
      probe").
      
      A recent commit c6dce262 ("USB: serial: ftdi_sio: fix extreme
      low-latency setting") disabled the low-latency mode by default so we now
      need this fix to allow unprivileged users to again enable it.
      Signed-off-by: NAnthony Mallet <anthony.mallet@laas.fr>
      [johan: amend commit message]
      Fixes: 557aaa7f ("ft232: support the ASYNC_LOW_LATENCY flag")
      Fixes: c19db4c9 ("USB: ftdi_sio: set device latency timeout at port probe").
      Cc: stable <stable@vger.kernel.org>     # 2.6.31
      Signed-off-by: NJohan Hovold <johan@kernel.org>
      bb246681
  12. 19 4月, 2017 1 次提交
  13. 13 3月, 2017 5 次提交
  14. 07 2月, 2017 1 次提交
    • J
      USB: serial: ftdi_sio: fix line-status over-reporting · a6bb1e17
      Johan Hovold 提交于
      FTDI devices use a receive latency timer to periodically empty the
      receive buffer and report modem and line status (also when the buffer is
      empty).
      
      When a break or error condition is detected the corresponding status
      flags will be set on a packet with nonzero data payload and the flags
      are not updated until the break is over or further characters are
      received.
      
      In order to avoid over-reporting break and error conditions, these flags
      must therefore only be processed for packets with payload.
      
      This specifically fixes the case where after an overrun, the error
      condition is continuously reported and NULL-characters inserted until
      further data is received.
      Reported-by: NMichael Walle <michael@walle.cc>
      Fixes: 72fda3ca ("USB: serial: ftd_sio: implement sysrq handling on
      break")
      Fixes: 166ceb69 ("USB: ftdi_sio: clean up line-status handling")
      Cc: stable <stable@vger.kernel.org>	# v2.6.35
      Signed-off-by: NJohan Hovold <johan@kernel.org>
      a6bb1e17
  15. 26 1月, 2017 1 次提交
  16. 25 1月, 2017 1 次提交
    • J
      USB: serial: ftdi_sio: fix extreme low-latency setting · c6dce262
      Johan Hovold 提交于
      Since commit 557aaa7f ("ft232: support the ASYNC_LOW_LATENCY
      flag") the FTDI driver has been using a receive latency-timer value of
      1 ms instead of the device default of 16 ms.
      
      The latency timer is used to periodically empty a non-full receive
      buffer, but a status header is always sent when the timer expires
      including when the buffer is empty. This means that a two-byte bulk
      message is received every millisecond also for an otherwise idle port as
      long as it is open.
      
      Let's restore the pre-2009 behaviour which reduces the rate of the
      status messages to 1/16th (e.g. interrupt frequency drops from 1 kHz to
      62.5 Hz) by not setting ASYNC_LOW_LATENCY by default.
      
      Anyone willing to pay the price for the minimum-latency behaviour should
      set the flag explicitly instead using the TIOCSSERIAL ioctl or a tool
      such as setserial (e.g. setserial /dev/ttyUSB0 low_latency).
      
      Note that since commit 0cbd81a9 ("USB: ftdi_sio: remove
      tty->low_latency") the ASYNC_LOW_LATENCY flag has no other effects but
      to set a minimal latency timer.
      Reported-by: NAntoine Aubert <a.aubert@overkiz.com>
      Fixes: 557aaa7f ("ft232: support the ASYNC_LOW_LATENCY flag")
      Cc: stable@vger.kernel.org # v2.6.31: e3e574adSigned-off-by: NJohan Hovold <johan@kernel.org>
      c6dce262
  17. 16 1月, 2017 2 次提交
  18. 12 11月, 2016 1 次提交
  19. 07 11月, 2016 1 次提交
  20. 17 10月, 2016 1 次提交
  21. 08 8月, 2016 2 次提交
  22. 25 4月, 2016 1 次提交
  23. 07 4月, 2016 1 次提交
  24. 28 2月, 2016 1 次提交
  25. 25 1月, 2016 1 次提交
  26. 19 8月, 2015 1 次提交
  27. 21 5月, 2015 1 次提交
  28. 25 3月, 2015 1 次提交
  29. 16 3月, 2015 1 次提交
  30. 03 3月, 2015 1 次提交
  31. 27 2月, 2015 1 次提交