]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00220705 v4l2 overlay: Cancel the work structure schedule at overlay stop
authorYuxi Sun <b36102@freescale.com>
Sat, 18 Aug 2012 05:16:44 +0000 (13:16 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:35:15 +0000 (08:35 +0200)
commitfab577a510806da608f5b7b900930e9635591169
tree1b43b2c67556faff8398c06c6860c55117ecdd75
parente52518152bb780c1e028deadab56904e09f6173b
ENGR00220705 v4l2 overlay: Cancel the work structure schedule at overlay stop

Add flush_work_sync and cancel_work_sync at the overlay stop to
prevent moving data by DMA even when the space of those data address
is freed.

Signed-off-by: Yuxi Sun <b36102@freescale.com
drivers/media/video/mxc/capture/ipu_bg_overlay_sdc.c
drivers/media/video/mxc/capture/ipu_fg_overlay_sdc.c