diff options
Diffstat (limited to 'drivers/video/console/fbcon.c')
-rw-r--r-- | drivers/video/console/fbcon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/console/fbcon.c b/drivers/video/console/fbcon.c index 9c092b8d64e6..c58393402da2 100644 --- a/drivers/video/console/fbcon.c +++ b/drivers/video/console/fbcon.c | |||
@@ -823,10 +823,10 @@ static int set_con2fb_map(int unit, int newidx, int user) | |||
823 | if (oldidx == newidx) | 823 | if (oldidx == newidx) |
824 | return 0; | 824 | return 0; |
825 | 825 | ||
826 | if (!info || fbcon_has_exited) | 826 | if (!info) |
827 | return -EINVAL; | 827 | return -EINVAL; |
828 | 828 | ||
829 | if (!err && !search_for_mapped_con()) { | 829 | if (!search_for_mapped_con() || !con_is_bound(&fb_con)) { |
830 | info_idx = newidx; | 830 | info_idx = newidx; |
831 | return fbcon_takeover(0); | 831 | return fbcon_takeover(0); |
832 | } | 832 | } |