]> git.karo-electronics.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>
Mon, 16 Jun 2014 16:09:22 +0000 (18:09 +0200)
commit48a566338d6e6744dc82db86ab42032e9c9468ed
treee8dd2c377414fa6310a38e5151a454e64f691c93
parente77df8b1ebcf70e3422a6b6f38e8da77de8d7a77
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