diff options
author | Anson Huang <Anson.Huang@nxp.com> | 2018-09-05 09:24:26 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-09-18 16:07:24 +0200 |
commit | 07b5e16e9830878291bc83df70e87cdb0833517c (patch) | |
tree | 58ad1807ac2c3ff5dbfbdb006e8ab9f5995decfc /tools/perf/scripts/python/export-to-sqlite.py | |
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 <Anson.Huang@nxp.com>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions