]> git.baikalelectronics.ru Git - kernel.git/commit
[media] media: am437x-vpfe: Requested frame size and fmt overwritten by current senso...
authorBenoit Parrot <bparrot@ti.com>
Mon, 29 Jun 2015 21:19:06 +0000 (18:19 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 17 Jul 2015 12:50:36 +0000 (09:50 -0300)
commit0f0a4954d5047c9835db4cd0b450200a10d0192e
tree192fab768fd63790adafcdd32a44d1700de02ceb
parentbc8b56a8b9ca517070e1d61103f7d6078a1cdfe6
[media] media: am437x-vpfe: Requested frame size and fmt overwritten by current sensor setting

Upon a S_FMT the input/requested frame size and pixel format is
overwritten by the current sub-device settings.
Fix this so application can actually set the frame size and format.

Fixes: b968b599c6f1 ("[media] media: platform: add VPFE capture driver support for AM437X")
Cc: <stable@vger.kernel.org> # v4.0+
Signed-off-by: Benoit Parrot <bparrot@ti.com>
Acked-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/am437x/am437x-vpfe.c