aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/media/atomisp/pci/runtime/tagger
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-05-31 13:28:12 +0200
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-06-11 19:09:36 +0200
commit0a4b8c457b04af7409348ceb2484e8c726ee6953 (patch)
tree3186135ad0cc15d46f6a5cb0735903af199e79a8 /drivers/staging/media/atomisp/pci/runtime/tagger
parentmedia: atomisp: get rid of ifdef nonsense (diff)
downloadlinux-dev-0a4b8c457b04af7409348ceb2484e8c726ee6953.tar.xz
linux-dev-0a4b8c457b04af7409348ceb2484e8c726ee6953.zip
media: atomisp: simplify IRQ ifdef logic
There are lots of mess with IRQ ifdef settings. As the *_global.h will already detect the type of IRQ system at compile time, we can get rid of them, replacing by just one ifdef for ISP2401. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/staging/media/atomisp/pci/runtime/tagger')
-rw-r--r--drivers/staging/media/atomisp/pci/runtime/tagger/interface/ia_css_tagger_common.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/media/atomisp/pci/runtime/tagger/interface/ia_css_tagger_common.h b/drivers/staging/media/atomisp/pci/runtime/tagger/interface/ia_css_tagger_common.h
index 285867ea8aa7..49801fbc1924 100644
--- a/drivers/staging/media/atomisp/pci/runtime/tagger/interface/ia_css_tagger_common.h
+++ b/drivers/staging/media/atomisp/pci/runtime/tagger/interface/ia_css_tagger_common.h
@@ -24,11 +24,7 @@
*
* Should be one less than NUM_CONTINUOUS_FRAMES in sh_css_internal.h
*/
-#if defined(HAS_SP_2400)
#define MAX_CB_ELEMS_FOR_TAGGER 14
-#else
-#define MAX_CB_ELEMS_FOR_TAGGER 9
-#endif
/**
* @brief Data structure for the tagger buffer element.