diff options
author | Stefan Agner <stefan.agner@toradex.com> | 2016-11-25 18:20:51 -0800 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2018-12-24 01:27:28 +0100 |
commit | a5afdb17e86e742b4e976d0859f30f48b0eb369d (patch) | |
tree | fda1af691d1e78a1b9261fd7c03c98049cef4117 /drivers/clk/imx | |
parent | 5f5013d1a655d4325fe2a4ee57204c830dbe8e67 (diff) |
rpmsg: imx: do not push data when no reader is available
Pushing data while there is no reader seems to lock/crash the TTY
layer in some way. Especially when a reader gets attached again,
the kernel crashes with
Unable to handle kernel paging request at virtual address 00002248
Also use tty_insert_flip_string which handels the copying and TTY
buffer resizing if necessary.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
(cherry picked from commit 5aba75e2c61d4044bed21730b7c471822860fac1)
Diffstat (limited to 'drivers/clk/imx')
0 files changed, 0 insertions, 0 deletions