]> 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)
commitf4c5d29d949a31ccde9776ec80fd9122f65dc6c4
tree192fab768fd63790adafcdd32a44d1700de02ceb
parenta086d9cb661fb595f9642907bd5f12eb72b9ed22
[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: 0714655b2584 ("[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