Re: [PATCH 13/41] drivers: tty: serial: uartlite: fill mapsize and use it

2019-04-29 Thread Enrico Weigelt, metux IT consult
On 29.04.19 17:19, Peter Korsgaard wrote: >> "Enrico" == Enrico Weigelt, metux IT consult writes: > > > Fill the struct uart_port->mapsize field and use it, insteaf of > > s/insteaf/instead/ Fixed. > > hardcoded values in many places. This makes the code layout a bit > > more

Re: [PATCH 13/41] drivers: tty: serial: uartlite: fill mapsize and use it

2019-04-29 Thread Peter Korsgaard
> "Enrico" == Enrico Weigelt, metux IT consult writes: > Fill the struct uart_port->mapsize field and use it, insteaf of s/insteaf/instead/ > hardcoded values in many places. This makes the code layout a bit > more consistent and easily allows using generic helpers for the > io memory

[PATCH 13/41] drivers: tty: serial: uartlite: fill mapsize and use it

2019-04-27 Thread Enrico Weigelt, metux IT consult
Fill the struct uart_port->mapsize field and use it, insteaf of hardcoded values in many places. This makes the code layout a bit more consistent and easily allows using generic helpers for the io memory handling. Candidates for such helpers could be eg. the request+ioremap and iounmap+release