diff options
-rwxr-xr-x | include/sec_lcd.h | 2 | ||||
-rw-r--r-- | libhwcomposer/SecHWC.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/sec_lcd.h b/include/sec_lcd.h index b829f0e..6a3a34a 100755 --- a/include/sec_lcd.h +++ b/include/sec_lcd.h @@ -33,7 +33,7 @@ struct secfb_user_window { #define FBIO_WAITFORVSYNC _IO ('F', 32) #define SECFB_WIN_POSITION _IOW ('F', 203, struct secfb_user_window) -#define S3CFB_SET_VSYNC_ACTIVE _IOW ('F', 208, uint32_t) +#define S3CFB_SET_VSYNC_INT _IOW ('F', 206, uint32_t) #define DEFAULT_LCD_WIDTH (480) #define DEFAULT_LCD_HEIGHT (800) 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; |