MLK-16536-14 video: fbdev: dcss: correct ret value for 'dcss_wait_for_vsync()'

The correct return value for 'dcss_wait_for_vsync()' when
it executes successfully should be '0'. But this current
value now gets from 'wait_event_interruptible_timeout()'
which returns non-zero value when the wait is not timeout.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
Reviewed-by: Robby Cai <robby.cai@nxp.com>
This commit is contained in:
Fancy Fang 2017-09-28 22:09:47 +08:00 committed by Jason Liu
parent 7f419d023c
commit 81c9e6c613

View file

@ -2937,7 +2937,7 @@ static int dcss_wait_for_vsync(unsigned long crtc,
return -EBUSY;
}
return ret;
return 0;
}
static int dcss_ioctl(struct fb_info *fbi, unsigned int cmd,