summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2015-10-30 09:08:41 -0400
committerChris Michael <cp.michael@samsung.com>2015-10-30 09:28:10 -0400
commit4ef8750733086d000d63ff10ae28f945c5fa6e64 (patch)
tree4afbc57503ade9a5ba094075bb89b4ba61b68582
parent329832bb801210b37e94c6419dfba1f01b1acabb (diff)
downloadefl-4ef8750733086d000d63ff10ae28f945c5fa6e64.tar.gz
ecore-drm: Don't exit tty setup if tty is already in graphics mode
Summary: If we go to setup a tty and it is already in graphics mode, then there is no need to exit with a failed setup here. Instead, we can actually continue to setup the tty. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
-rw-r--r--src/lib/ecore_drm/ecore_drm_tty.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/lib/ecore_drm/ecore_drm_tty.c b/src/lib/ecore_drm/ecore_drm_tty.c
index 40a0019f71..bf057868a7 100644
--- a/src/lib/ecore_drm/ecore_drm_tty.c
+++ b/src/lib/ecore_drm/ecore_drm_tty.c
@@ -68,10 +68,7 @@ _ecore_drm_tty_setup(Ecore_Drm_Device *dev)
}
if (kmode != KD_TEXT)
- {
- WRN("Virtual Terminal already in KD_GRAPHICS mode");
- return EINA_FALSE;
- }
+ WRN("Virtual Terminal already in KD_GRAPHICS mode");
if (ioctl(dev->tty.fd, VT_ACTIVATE, minor(st.st_rdev)) < 0)
{