• Johan Hovold's avatar
    USB: ftdi_sio: switch to generic write implementation · d3901a06
    Johan Hovold authored
    Switch to the generic, multi-urb, write implementation.
    
    Note that this will also make it fairly easy to use the generic
    fifo-based write implementation: simply unset the multi_urb_write flag
    and modify prepare_write_buffer (or unset if not using a legacy SIO
    device). This may be desirable for instance on an embedded system where
    optimal throughput at high baudrates may not be as important as other
    factors (e.g. no allocations during runtime and less pressure on host
    stack).
    Signed-off-by: default avatarJohan Hovold <jhovold@gmail.com>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    d3901a06
ftdi_sio.c 79 KB