This project is mirrored from Pull mirroring updated .
  1. 08 Sep, 2021 1 commit
  2. 21 Jul, 2021 1 commit
  3. 20 Jul, 2021 1 commit
  4. 16 Jun, 2021 1 commit
  5. 10 Jun, 2021 2 commits
  6. 12 Apr, 2021 2 commits
  7. 09 Mar, 2021 2 commits
  8. 09 Feb, 2021 1 commit
  9. 01 Feb, 2021 7 commits
  10. 25 Jan, 2021 1 commit
  11. 18 Jan, 2021 6 commits
  12. 13 Jan, 2021 1 commit
  13. 04 Dec, 2020 6 commits
    • Johan Hovold's avatar
      USB: serial: cp210x: clean up dtr_rts() · daa91919
      Johan Hovold authored
      Clean up dtr_rts() by renaming the port parameter and adding missing
      Signed-off-by: default avatarJohan Hovold <>
    • Johan Hovold's avatar
      USB: serial: cp210x: refactor flow-control handling · ed921771
      Johan Hovold authored
      Add a helper function to be used to configure flow control.
      The flow-control code was the last caller that relied on the
      memset-on-failure behaviour of cp210x_read_reg_block(), which we can now
      drop in favour of bailing out on errors when retrieving the flow-control
      This should also simplify adding support for software flow control.
      Signed-off-by: default avatarJohan Hovold <>
    • Johan Hovold's avatar
      USB: serial: cp210x: drop flow-control debugging · b339628e
      Johan Hovold authored
      Drop some unnecessary flow-control debugging.
      Signed-off-by: default avatarJohan Hovold <>
    • Johan Hovold's avatar
      USB: serial: cp210x: set terminal settings on open · 46827bda
      Johan Hovold authored
      Unlike other drivers cp210x have been retrieving the current terminal
      settings from the device on open and reflecting those in termios.
      Due to how set_termios() used to be implemented, this saved a few
      control requests on open but has instead caused problems like broken
      flow control and has required adding workarounds for swapped
      line-control in cp2108 and line-speed initialisation on cp2104.
      This unusual implementation also complicates adding new features for no
      good reason.
      Rip out the corresponding code and the above mentioned workarounds and
      instead initialise the terminal settings unconditionally on open.
      Signed-off-by: default avatarJohan Hovold <>
    • Johan Hovold's avatar
      USB: serial: cp210x: clean up line-control handling · d4297629
      Johan Hovold authored
      Update the line-control settings in one request unconditionally instead
      of setting the word-length, parity and stop-bit settings separately.
      This avoids multiple requests when several settings are changed even if
      this scheme could potentially also be used to detect unsupported device
      settings. Since all device types but CP2101 appears to support all
      settings, let's handle that one specifically and also report back the
      unsupported settings properly through termios by clearing the
      corresponding bits.
      Also drop the related unnecessary debug printks.
      Signed-off-by: default avatarJohan Hovold <>
    • Johan Hovold's avatar
      USB: serial: cp210x: return early on unchanged termios · 95168d62
      Johan Hovold authored
      Return early from set_termios() in case no relevant terminal settings
      have changed.
      This avoids testing each parameter in turn and specifically allows the
      line-control handling to be cleaned up further.
      Signed-off-by: default avatarJohan Hovold <>
  14. 14 Jul, 2020 5 commits
  15. 06 Jul, 2020 2 commits
  16. 18 Nov, 2019 1 commit