Commit 1e687528 authored by Christian Dietrich's avatar Christian Dietrich Committed by Mauro Carvalho Chehab

V4L/DVB: drivers/media/video: Remove dead CONFIG_FB_OMAP2_FORCE_AUTO_UPDATE

CONFIG_FB_OMAP2_FORCE_AUTO_UPDATE doesn't exist in Kconfig and is never defined anywhere
else, therefore removing all references for it from the source code.
Signed-off-by: default avatarChristian Dietrich <qy03fugy@stud.informatik.uni-erlangen.de>
Acked-by: default avatarVaibhav Hiremath <hvaibhav@ti.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent abf84383
...@@ -2545,19 +2545,11 @@ static int __init omap_vout_probe(struct platform_device *pdev) ...@@ -2545,19 +2545,11 @@ static int __init omap_vout_probe(struct platform_device *pdev)
/* set the update mode */ /* set the update mode */
if (def_display->caps & if (def_display->caps &
OMAP_DSS_DISPLAY_CAP_MANUAL_UPDATE) { OMAP_DSS_DISPLAY_CAP_MANUAL_UPDATE) {
#ifdef CONFIG_FB_OMAP2_FORCE_AUTO_UPDATE
if (dssdrv->enable_te)
dssdrv->enable_te(def_display, 1);
if (dssdrv->set_update_mode)
dssdrv->set_update_mode(def_display,
OMAP_DSS_UPDATE_AUTO);
#else /* MANUAL_UPDATE */
if (dssdrv->enable_te) if (dssdrv->enable_te)
dssdrv->enable_te(def_display, 0); dssdrv->enable_te(def_display, 0);
if (dssdrv->set_update_mode) if (dssdrv->set_update_mode)
dssdrv->set_update_mode(def_display, dssdrv->set_update_mode(def_display,
OMAP_DSS_UPDATE_MANUAL); OMAP_DSS_UPDATE_MANUAL);
#endif
} else { } else {
if (dssdrv->set_update_mode) if (dssdrv->set_update_mode)
dssdrv->set_update_mode(def_display, dssdrv->set_update_mode(def_display,
......
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