]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ENGR00291111 mxc vout:Restore when new config fails
authorLiu Ying <Ying.Liu@freescale.com>
Tue, 10 Dec 2013 09:28:09 +0000 (17:28 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Mon, 16 Jun 2014 16:09:09 +0000 (18:09 +0200)
commitd402b357b69cd1cfd2abf7ee9a7192fc6aa77553
treebc7381af09528aac7659d2763f80b75b4c81af39
parent1c412f87abcf8ae587a19caa4c0c62a88b2928d5
ENGR00291111 mxc vout:Restore when new config fails

Users may call VIDIOC_S_CTRL and VIDIOC_S_CROP ioctrls
to change rotation and cropping settings when streaming.
The driver should restore the original settings if new
configuration fails, otherwise, it might break the
present pipeline.

This patch fixes the issue which can be reproduced by
this test case with a 1080P HDMI primary display:
gplay Mpeg4_SP1_480x260_24_1200_aac_48_128_2_terminator3.mp4
Type 't' to set rotation to 90.

Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
drivers/media/platform/mxc/output/mxc_vout.c