1. 15 2月, 2017 2 次提交
  2. 10 2月, 2017 1 次提交
  3. 09 2月, 2017 16 次提交
  4. 08 2月, 2017 5 次提交
  5. 07 2月, 2017 2 次提交
    • J
      USB: serial: sierra: fix bogus alternate-setting assumption · 16620b48
      Johan Hovold 提交于
      Interface numbers do not change when enabling alternate settings as
      comment and code in this driver suggested.
      
      Remove the confusing comment and redundant retrieval of the interface
      number in probe, while simplifying and renaming the interface-number
      helper.
      
      Fixes: 4db2299d ("sierra: driver interface blacklisting")
      Reviewed-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      Signed-off-by: NJohan Hovold <johan@kernel.org>
      16620b48
    • 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
  6. 06 2月, 2017 3 次提交
  7. 05 2月, 2017 5 次提交
  8. 04 2月, 2017 6 次提交