projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
329832b
)
ecore-drm: Don't exit tty setup if tty is already in graphics mode
author
Chris Michael
<cp.michael@samsung.com>
Fri, 30 Oct 2015 13:08:41 +0000
(09:08 -0400)
committer
Chris Michael
<cp.michael@samsung.com>
Fri, 30 Oct 2015 13:28:10 +0000
(09:28 -0400)
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>
src/lib/ecore_drm/ecore_drm_tty.c
patch
|
blob
|
history
diff --git
a/src/lib/ecore_drm/ecore_drm_tty.c
b/src/lib/ecore_drm/ecore_drm_tty.c
index 40a0019f7195f3e2d4406b3b6c1f6eb5a96f6d33..bf057868a7a0aa3a6a7ea4b8ba909ff107b2a43e 100644
(file)
--- 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)
{