]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
virtio_console: init work unconditionally
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 5 Mar 2015 00:15:30 +0000 (10:45 +1030)
committerJiri Slaby <jslaby@suse.cz>
Thu, 9 Apr 2015 11:14:03 +0000 (13:14 +0200)
commit8a4b192f16751b031360af03bb73600a6025cd2d
tree0fd14eb0b6f0973daad0c2067dee631f2d9cff18
parent90fe09d0c8adf33924940dfca77ad3ddbbae50c2
virtio_console: init work unconditionally

commit 4f6e24ed9de8634d6471ef86b382cba6d4e57ca8 upstream.

when multiport is off, we don't initialize config work,
but we then cancel uninitialized control_work on freeze.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/char/virtio_console.c