summaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/omap3isp/ispstat.c
diff options
context:
space:
mode:
authorLaurent Pinchart2015-02-21 21:59:54 +0100
committerMauro Carvalho Chehab2015-04-02 21:37:13 +0200
commit0ff4e419dc6a409a60dc492fbbc58288af78bed7 (patch)
tree2342367556443c50abef812288443c56142ca378 /drivers/media/platform/omap3isp/ispstat.c
parent[media] media: omap3isp: video: Use v4l2_get_timestamp() (diff)
downloadkernel-qcow2-linux-0ff4e419dc6a409a60dc492fbbc58288af78bed7.tar.gz
kernel-qcow2-linux-0ff4e419dc6a409a60dc492fbbc58288af78bed7.tar.xz
kernel-qcow2-linux-0ff4e419dc6a409a60dc492fbbc58288af78bed7.zip
[media] media: omap3isp: hist: Move histogram DMA to DMA engine
Replace the custom OMAP DMA API usage by DMA engine. Feature-wise the driver has lost the ability to get notified of DMA transfers failure through the completion handler, as the DMA engine API doesn't expose that status information. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Acked-by: Sakari Ailus <sakari.ailus@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/platform/omap3isp/ispstat.c')
-rw-r--r--drivers/media/platform/omap3isp/ispstat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/omap3isp/ispstat.c b/drivers/media/platform/omap3isp/ispstat.c
index a94e8340508f..20434e83e801 100644
--- a/drivers/media/platform/omap3isp/ispstat.c
+++ b/drivers/media/platform/omap3isp/ispstat.c
@@ -21,7 +21,7 @@
#include "isp.h"
-#define ISP_STAT_USES_DMAENGINE(stat) ((stat)->dma_ch >= 0)
+#define ISP_STAT_USES_DMAENGINE(stat) ((stat)->dma_ch != NULL)
/*
* MAGIC_SIZE must always be the greatest common divisor of