Commit 643405b0 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

media: atomisp: pci/atomisp2/*.h remove #ifdef ISP2401



Those ifs can easily be removed without breaking the code.

Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent 268ff5bf
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -153,12 +153,6 @@
#define CCK_FUSE_REG_0			0x08
#define CCK_FUSE_HPLL_FREQ_MASK		0x03

#if defined(ISP2401)
#define ISP_FREQ_MAX	ISP_FREQ_320MHZ
#else
#define ISP_FREQ_MAX	ISP_FREQ_400MHZ
#endif

/* ISP2401 CSI2+ receiver delay settings */
#define CSI2_PORT_A_BASE					0xC0000
#define CSI2_PORT_B_BASE					0xC2000
+2 −3
Original line number Diff line number Diff line
@@ -39,10 +39,9 @@ extern int pad_h;
#define CSS_DTRACE_VERBOSITY_LEVEL	5	/* Controls trace verbosity */
#define CSS_DTRACE_VERBOSITY_TIMEOUT	9	/* Verbosity on ISP timeout */
#define MRFLD_MAX_ZOOM_FACTOR	1024
#ifdef ISP2401
#define ATOMISP_CSS_ISP_PIPE_VERSION_2_2    0

/* ISP2401 */
#define ATOMISP_CSS_ISP_PIPE_VERSION_2_7    1
#endif

#define IS_ISP2401(isp)							\
	(((isp)->media_dev.hw_revision & ATOMISP_HW_REVISION_MASK)	\