diff options
| author | Anson Huang <[email protected]> | 2018-09-05 09:24:26 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2018-09-18 16:07:24 +0200 |
| commit | 07b5e16e9830878291bc83df70e87cdb0833517c (patch) | |
| tree | 58ad1807ac2c3ff5dbfbdb006e8ab9f5995decfc /scripts | |
| parent | c974991d2620419fe21508fc4529014369d16df7 (diff) | |
tty: serial: imx: add lock for registers save/restore
In noirq suspend/resume stage with no_console_suspend enabled,
imx_uart_console_write() may be called to print out log_buf
message by printk(), so there will be race condition between
imx_uart_console_write() and imx_uart_save/restore_context(),
need to add lock to protect the registers save/restore operations.
Signed-off-by: Anson Huang <[email protected]>
Acked-by: Uwe Kleine-König <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions