diff options
author | Zev Weiss <zev@bewilderbeest.net> | 2021-05-10 03:42:30 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-05-13 16:16:29 +0200 |
commit | c9805fbf9d89c32c7ea4a6c5c3a66244aab06584 (patch) | |
tree | a83d65e851857c72fe08bc669dd7d66d18853f76 /drivers/mtd | |
parent | serial: 8250_aspeed_vuart: factor out aspeed_vuart_{read, write}b() helper fu... (diff) | |
download | linux-c9805fbf9d89c32c7ea4a6c5c3a66244aab06584.tar.xz linux-c9805fbf9d89c32c7ea4a6c5c3a66244aab06584.zip |
serial: 8250_aspeed_vuart: initialize vuart->port in aspeed_vuart_probe()
Previously this had only been initialized if we hit the throttling path
in aspeed_vuart_handle_irq(); moving it to the probe function is a
slight consistency improvement and avoids redundant reinitialization in
the interrupt handler. It also serves as preparation for converting the
driver's I/O accesses to use port->port.membase instead of its own
vuart->regs.
Signed-off-by: Zev Weiss <zev@bewilderbeest.net>
Link: https://lore.kernel.org/r/20210510014231.647-3-zev@bewilderbeest.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/mtd')
0 files changed, 0 insertions, 0 deletions