commit | f1ac79642e0f9a2320f95a8e53042be625a989e0 | [log] [tgz] |
---|---|---|
author | Anson Huang <Anson.Huang@nxp.com> | Tue Jan 15 13:53:03 2019 +0800 |
committer | Anson Huang <Anson.Huang@nxp.com> | Tue Jan 15 13:58:59 2019 +0800 |
tree | 62d1a21207b6cf008959eb04172012b46c5504db | |
parent | 63b9b5425f15a18b4afb957b1f1c861d14a611fa [diff] |
imx: add necessary lpuart console_flush callback for debug Current lpuart driver does NOT implement .console_flush callback, if debug console is enabled, the console_flush() will call the undefined .console_flush callback(NULL) for lpuart and leak to panic, this patch adds .console_flush callback to make lpuart work for debug mode. Signed-off-by: Anson Huang <Anson.Huang@nxp.com>