[media] m2m-deinterlace: don't return zero on failure paths in deinterlace_probe()
authorAlexey Khoroshilov <khoroshilov@ispras.ru>
Fri, 7 Apr 2017 23:09:17 +0000 (20:09 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Mon, 10 Apr 2017 17:43:31 +0000 (14:43 -0300)
commit41309271448e559afe208f1e89d4d30b83259678
tree45aa724327abc22a8afa55b8add88bdcb1db0af0
parent9d826ce8122fc634c1b67bc6f8985ccfbd565d86
[media] m2m-deinterlace: don't return zero on failure paths in deinterlace_probe()

If DMA does not support INTERLEAVE, deinterlace_probe() breaks off
initialization, releases dma channel, but returns zero.

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/m2m-deinterlace.c