Commit 2abfeef6 authored by Paul Bolle's avatar Paul Bolle Committed by Mauro Carvalho Chehab

[media] dm644x_ccdc: remove check for CONFIG_DM644X_VIDEO_PORT_ENABLE

A check for CONFIG_DM644X_VIDEO_PORT_ENABLE was added in v2.6.32. The
related Kconfig symbol was never added so this check has always
evaluated to false. Remove that check.
Signed-off-by: default avatarPaul Bolle <pebolle@tiscali.nl>
Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
parent 85594960
...@@ -581,13 +581,8 @@ void ccdc_config_raw(void) ...@@ -581,13 +581,8 @@ void ccdc_config_raw(void)
config_params->alaw.enable) config_params->alaw.enable)
syn_mode |= CCDC_DATA_PACK_ENABLE; syn_mode |= CCDC_DATA_PACK_ENABLE;
#ifdef CONFIG_DM644X_VIDEO_PORT_ENABLE
/* enable video port */
val = CCDC_ENABLE_VIDEO_PORT;
#else
/* disable video port */ /* disable video port */
val = CCDC_DISABLE_VIDEO_PORT; val = CCDC_DISABLE_VIDEO_PORT;
#endif
if (config_params->data_sz == CCDC_DATA_8BITS) if (config_params->data_sz == CCDC_DATA_8BITS)
val |= (CCDC_DATA_10BITS & CCDC_FMTCFG_VPIN_MASK) val |= (CCDC_DATA_10BITS & CCDC_FMTCFG_VPIN_MASK)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment