[media] davinci: vpbe: fix check for s_dv_preset function pointer
authorPrabhakar Lad <prabhakar.csengg@gmail.com>
Fri, 20 Jul 2012 13:00:57 +0000 (10:00 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 30 Jul 2012 23:34:13 +0000 (20:34 -0300)
commitdcf4fc2e2efc605382563d6ab6ba1b6f15fa28a0
tree322d3bb90f729f1fa507b4270857b31f8829c384
parent3a495ed77a2f582d860472cdfca815c1dc4a5d02
[media] davinci: vpbe: fix check for s_dv_preset function pointer

fix check for s_dv_preset function pointer to be NULL.
return -EINVAL if function pointer is NULL.

Signed-off-by: Lad, Prabhakar <prabhakar.lad@ti.com>
Signed-off-by: Manjunath Hadli <manjunath.hadli@ti.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/davinci/vpbe_display.c