MLK-16536-14 video: fbdev: dcss: correct ret value for 'dcss_wait_for_vsync()'
authorFancy Fang <chen.fang@nxp.com>
Thu, 28 Sep 2017 14:09:47 +0000 (22:09 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:38:41 +0000 (15:38 -0500)
commitc02b1c1cdf5ddbf8363b59183a6db26fcf11391d
tree05512f1fd6ced17a199943525c50588b50b28e9f
parent4f07bfec07903388b4eb78a062dcfe2fa7db02b9
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>
drivers/video/fbdev/mxc/imx_dcss.c