diff options
author | Noam Camus <[email protected]> | 2015-12-12 19:18:25 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2016-02-06 22:28:23 -0800 |
commit | cdcea058e51008479545f29201b4fa577c59733c (patch) | |
tree | 3cee2e5144875a29e046696a676cbabe6ba10981 /ipc/msg.c | |
parent | 344cee2470ff70801c95c62ab2762da0834c8c6c (diff) |
serial: 8250_dw: Avoid serial_outx code duplicate with new dw8250_check_lcr()
With the help of Heikki we take common code that
makes sure LCR write wasn't ignored and put it in new function called
dw8250_check_lcr(). This function serves 3 serial_out routines:
dw8250_serial_out(), dw8250_serial_out32(), and dw8250_serial_outq().
This patch only brings better code reuse.
Signed-off-by: Noam Camus <[email protected]>
Cc: Heikki Krogerus <[email protected]>
Cc: Andy Shevchenko <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'ipc/msg.c')
0 files changed, 0 insertions, 0 deletions