summaryrefslogtreecommitdiff
path: root/drivers/tty/tty_io.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2011-01-07 09:57:41 +1000
committerGreg Kroah-Hartman <gregkh@suse.de>2011-01-22 19:15:00 -0800
commitc55c63c6539499379ab4a7e8a5c0f857351fb946 (patch)
treee9a607c2c47e22a020620c1e6abc95c962e46814 /drivers/tty/tty_io.c
parent1bae4ce27c9c90344f23c65ea6966c50ffeae2f5 (diff)
vt: fix issue when fbcon wants to takeover a second time.
With framebuffer handover and multiple GPUs, we get into a position where the fbcon unbinds the vesafb framebuffer for GPU 1, but we still have a radeon framebuffer bound from GPU 0, so we don't unregister the console driver. Then when we tried to bind the new radeon framebuffer for GPU1 we never get to the bind call as we fail due to the console being registered already. This changes the return value to -EBUSY when the driver is already registered and continues to bind for -EBUSY. Signed-off-by: Dave Airlie <airlied@redhat.com> Cc: Alan Cox <alan@lxorguk.ukuu.org.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/tty/tty_io.c')
0 files changed, 0 insertions, 0 deletions