V4L/DVB (12525): soc-camera: prohibit geometry change with initialised buffers
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Tue, 25 Aug 2009 14:46:53 +0000 (11:46 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 19 Sep 2009 03:18:59 +0000 (00:18 -0300)
commitb897a91afbed57558324ef4059efa2e2419e8b66
tree13528b6b4367f05bfa96836bb8c934b184390f62
parent68a54f0e53b62806040fb7884b2e0d79b922bf00
V4L/DVB (12525): soc-camera: prohibit geometry change with initialised buffers

Prohibit S_FMT and S_CROP with a different window width or height after video
buffer initialisation. This simplifies the work to be done in specific host and
client drivers, and it doesn't seem to make much sense to allow these changes.
We do however allow S_CROP with equal width and height to just move the window,
this doesn't affect video buffer management and is usually easy enough to
implement.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/soc_camera.c