]> 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)
committerOliver Wendt <ow@karo-electronics.de>
Mon, 30 Sep 2013 12:12:45 +0000 (14:12 +0200)
commitb4163c169f9fb419bc2be37ad32d873f02a21a0a
tree1b43b2c67556faff8398c06c6860c55117ecdd75
parent5f3e5870b0f887622ebb4a9cf7de5ed26ff68dae
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