On 2022-09-27 at 13:18:18 +0200, Jiri Slaby <jslaby@xxxxxxx> wrote: > TX space reads from the control register are performed in various forms > on 4 places in altera_jtaguart. Unify all those and do the read and > masking on a single place. > > The new helper altera_jtaguart_tx_space() uses FIELD_GET(), so we can > drop ALTERA_JTAGUART_CONTROL_WSPACE_OFF now. > > Cc: Tobias Klauser <tklauser@xxxxxxxxxx> > Signed-off-by: Jiri Slaby <jslaby@xxxxxxx> Acked-by: Tobias Klauser <tklauser@xxxxxxxxxx> Thanks