diff options
author | Sylwester Nawrocki <s.nawrocki@samsung.com> | 2013-05-31 20:47:04 +0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-06-13 05:06:04 +0400 |
commit | 4434adff80bf24c1c558a1605599665301185bdb (patch) | |
tree | 83596eca1cdb7d0b3e9d12cc4a1ee010fa1ab248 /drivers/media/platform/exynos4-is/fimc-isp.h | |
parent | 0f20956be654cf52a69b9071590faa9c6657b77f (diff) | |
download | linux-4434adff80bf24c1c558a1605599665301185bdb.tar.xz |
[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.h | 5 |
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 f5c802cf40f9..756063e77fb8 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) |