[media] coda: properly clear f_cap in coda_s_fmt_vid_out
authorPhilipp Zabel <p.zabel@pengutronix.de>
Fri, 23 Jan 2015 16:51:22 +0000 (13:51 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 2 Feb 2015 12:02:13 +0000 (10:02 -0200)
commit1c2f6a9983a7b079c4bada2bb43c336bb7b8abb9
tree9d483e026ce26ee5024c0ca11fbe36859b6dbbc7
parent5f9826e8a759426f6fd722a80a72008bd93132af
[media] coda: properly clear f_cap in coda_s_fmt_vid_out

Properly zero the structure on the stack before using it.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/coda/coda-common.c