]> git.baikalelectronics.ru Git - kernel.git/commit
virtio_console: Initialize guest_connected=true for rproc_serial
authorSjur Brændeland <sjur.brandeland@stericsson.com>
Wed, 13 Feb 2013 10:27:21 +0000 (20:57 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 13 Feb 2013 10:27:45 +0000 (20:57 +1030)
commit8f62946456ed4e9bba5c2f0c7456ee119ac560d6
tree44009aa63f70e235ce4674abba9ff1333da7c8fd
parent70cb009be90022e3d418125a9c358a654bedd45d
virtio_console: Initialize guest_connected=true for rproc_serial

When rproc_serial is initialized, guest_connected should be set
to true. We can then revert the extra checks introduced in
commit: "virtio_console: Let unconnected rproc device receive data."

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