summaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/exynos4-is/fimc-isp.h
diff options
context:
space:
mode:
authorSylwester Nawrocki <s.nawrocki@samsung.com>2013-05-31 13:47:04 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-06-12 22:06:04 -0300
commit4434adff80bf24c1c558a1605599665301185bdb (patch)
tree83596eca1cdb7d0b3e9d12cc4a1ee010fa1ab248 /drivers/media/platform/exynos4-is/fimc-isp.h
parent0f20956be654cf52a69b9071590faa9c6657b77f (diff)
downloadop-kernel-dev-4434adff80bf24c1c558a1605599665301185bdb.zip
op-kernel-dev-4434adff80bf24c1c558a1605599665301185bdb.tar.gz
[media] exynos4-is: Add isp_dbg() macro
Add a debug trace macro for the FIMC-IS ISP subdev and the ISP video node drivers which are going to be added in subsequent patches. Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/platform/exynos4-is/fimc-isp.h')
-rw-r--r--drivers/media/platform/exynos4-is/fimc-isp.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/media/platform/exynos4-is/fimc-isp.h b/drivers/media/platform/exynos4-is/fimc-isp.h
index f5c802c..756063e 100644
--- a/drivers/media/platform/exynos4-is/fimc-isp.h
+++ b/drivers/media/platform/exynos4-is/fimc-isp.h
@@ -26,6 +26,11 @@
#include <media/v4l2-mediabus.h>
#include <media/s5p_fimc.h>
+extern int fimc_isp_debug;
+
+#define isp_dbg(level, dev, fmt, arg...) \
+ v4l2_dbg(level, fimc_isp_debug, dev, fmt, ## arg)
+
/* FIXME: revisit these constraints */
#define FIMC_ISP_SINK_WIDTH_MIN (16 + 8)
#define FIMC_ISP_SINK_HEIGHT_MIN (12 + 8)
OpenPOWER on IntegriCloud