Re: [PATCH] ALSA: serial-generic: explicitly disable flow control

From: Johan Hovold
Date: Fri Sep 27 2024 - 04:39:37 EST


On Thu, Sep 26, 2024 at 11:44:03AM +0100, John Keeping wrote:
> The serdev subsystem does not specify the default state of flow control
> when opening a device.

This bit isn't correct as serdev enables hardware flow control (CRTSCTS)
by default on open() (see ttyport_open()).

> Surveying other drivers using serdev shows the
> vast majority of these set flow control explicitly after opening the
> device.
>
> MIDI does not use flow control, so ensure it is disabled.

Johan