• Johan Hovold's avatar
    USB: serial: ch341: fix line settings after reset-resume · 3cca8624
    Johan Hovold authored
    A recent change added support for modifying the default line-control
    settings, but did not make sure that the modified settings were used as
    part of reconfiguration after a device has been reset during resume.
    
    This caused a port that was open before suspend to be unusable until
    being closed and reopened.
    
    Fixes: ba781bdf ("USB: serial: ch341: add support for parity, frame
    length, stop bits")
    Signed-off-by: default avatarJohan Hovold <johan@kernel.org>
    3cca8624
ch341.c 16 KB