summaryrefslogtreecommitdiffstats
path: root/libhwcomposer
diff options
context:
space:
mode:
authorGreg Hackmann <ghackmann@google.com>2012-05-14 20:03:23 -0700
committerGreg Hackmann <ghackmann@google.com>2012-05-15 14:30:34 -0700
commitfc3477b72f90643708f4c1c6f5b78ff8baf531d5 (patch)
treed8020b21169061bc5e163775692a7d1d54cd353d /libhwcomposer
parent73c3d77e2e2389a804a0810fca99012f876bd8bc (diff)
downloaddevice_samsung_crespo-fc3477b72f90643708f4c1c6f5b78ff8baf531d5.zip
device_samsung_crespo-fc3477b72f90643708f4c1c6f5b78ff8baf531d5.tar.gz
device_samsung_crespo-fc3477b72f90643708f4c1c6f5b78ff8baf531d5.tar.bz2
libhwcomposer: VSYNC_ACTIVE ioctl -> VSYNC_INT
VSYNC_INT fixed in kernel, and redundant VSYNC_ACTIVE removed Change-Id: I4f93f5baf8fd357cd819a26650b0d821a357d7c8 Signed-off-by: Greg Hackmann <ghackmann@google.com>
Diffstat (limited to 'libhwcomposer')
-rw-r--r--libhwcomposer/SecHWC.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhwcomposer/SecHWC.cpp b/libhwcomposer/SecHWC.cpp
index 14e4f9b..dda1108 100644
--- a/libhwcomposer/SecHWC.cpp
+++ b/libhwcomposer/SecHWC.cpp
@@ -461,7 +461,7 @@ static int hwc_eventControl(struct hwc_composer_device* dev,
switch (event) {
case HWC_EVENT_VSYNC:
int val = !!enabled;
- int err = ioctl(ctx->global_lcd_win.fd, S3CFB_SET_VSYNC_ACTIVE, &val);
+ int err = ioctl(ctx->global_lcd_win.fd, S3CFB_SET_VSYNC_INT, &val);
if (err < 0)
return -errno;