]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ENGR00293132-2 pxp/v4l2: restore smem_start for framebuffer even exit abnormally
authorRobby Cai <R63905@freescale.com>
Wed, 25 Dec 2013 07:46:37 +0000 (15:46 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Wed, 20 Aug 2014 08:06:51 +0000 (10:06 +0200)
commit3b85611a44abcce79b69371a6f1dae85613c66e1
tree2c9b2a7fc3506ee3823e1a92b3cec00acd6bfc73
parentba88d18cb854ee90e9c9ba2d700de3e814c4bca2
ENGR00293132-2 pxp/v4l2: restore smem_start for framebuffer even exit abnormally

Previously, the framebuffer for UI display may only be restored after
STREAMOFF ioctl is called. But sometimes the application may exit abnormally
(without call STREAMOFF) for some reason. Now restore previously-saved
smem_start in release function to make sure it's set correctly, to avoid some
video frame remain.

Signed-off-by: Robby Cai <R63905@freescale.com>
drivers/media/platform/mxc/output/mxc_pxp_v4l2.c