commit | edf6d7d59a69982bb7fe3fddf37a0897b260019e | [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 | b9831eda66fd8fe2d696853a290e19638ed3a5fa [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>