]> git.karo-electronics.de Git - linux-beck.git/commit
[media] media: coda: fix sizeimage setting in try_fmt
authorPhilipp Zabel <p.zabel@pengutronix.de>
Thu, 26 Jul 2012 12:18:27 +0000 (09:18 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 26 Sep 2012 19:54:44 +0000 (16:54 -0300)
commit451d43ad44b00bd6d518254086378464ffef96ef
tree4ae719b6fb2dfc96e068e71b9ce0b52d9309c446
parent62bed14c4f634b706227098c31c3755ed40204f7
[media] media: coda: fix sizeimage setting in try_fmt

VIDIOC_TRY_FMT would incorrectly return bytesperline * height,
instead of width * height * 3 / 2.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Tested-by: Javier Martin <javier.martin@vista-silicon.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/coda.c