virtio_console: Let unconnected rproc device receive data.
authorSjur Brændeland <sjur.brandeland@stericsson.com>
Mon, 21 Jan 2013 23:21:20 +0000 (09:51 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 22 Jan 2013 06:58:40 +0000 (17:28 +1030)
commit1f8051876a194d7f7fe7834d9853f240d6b4b9ab
tree1aa4b9823fb30f308075429e5fd08253216e3adb
parent226364766f936d249e408de03821468c1bf11dda
virtio_console: Let unconnected rproc device receive data.

Allow rproc serial ports to receive data before the port
is connected.

Rproc serial ports usually talk to very simple remote devices
with no control queue managing open/close events. So we must
let remote devices write to the virtio ring even if the device
is not yet fully initialized.

Signed-off-by: Sjur Brændeland <sjur.brandeland@stericsson.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/char/virtio_console.c