This series fixes a number of problems with the ch341 driver, and adds support for a class of CH340 devices which does not seem to support changing the intial line settings (and does not support using the init vendor command to do so either). I noticed that using the init command to update the line settings has the undesired side effect of deasserting the DTR/RTS lines. And since CH341A can be supported also using direct register writes (and we have a quirky class of devices which clearly does not support using init at all), I decided to revert to using direct register writes again. These patches have been verified against CH340G and CH341A, but I need help with testing the quirky class of CH340 devices (which Russel and possibly also Eddie has), and any other devices which you may have access too. I intend to merge the first seven fixes for v4.10-rc, and save the remaining patches for 4.11. Thanks, Johan Changes in v2 - revert to using direct register writes to update line settings for all device types (avoids toggling DTR/RTS) - use GFP_NOIO in reset_resume - rename lcr variable in set_termios - update a few commit messages Johan Hovold (14): USB: serial: ch341: fix initial modem-control state USB: serial: ch341: fix open and resume after B0 USB: serial: ch341: fix modem-control and B0 handling USB: serial: ch341: fix open error handling USB: serial: ch341: fix resume after reset USB: serial: ch341: fix line settings after reset-resume USB: serial: ch341: fix baud rate and line-control handling USB: serial: ch341: fix modem-status handling USB: serial: ch341: fix control-message error handling USB: serial: ch341: clean up control debug messages USB: serial: ch341: rename shadow modem-control register USB: serial: ch341: rename modem-status register USB: serial: ch341: rename LCR variable in set_termios USB: serial: ch341: change initial line-control settings drivers/usb/serial/ch341.c | 212 ++++++++++++++++++++++++++------------------- 1 file changed, 121 insertions(+), 91 deletions(-) -- 2.10.2 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html