ENGR00125608-1 TVE:Return error when TVE probe fails

This patch avoids TVE custom suspend/resume functions to be called.

Signed-off-by: Liu Ying <b17645@freescale.com>
(cherry picked from commit ec197f61d6dcc21393ab8ea3ffc5fe071914ccf2)
This commit is contained in:
Liu Ying
2010-07-27 14:23:48 +08:00
committed by Matt Sealey
parent bf62e34178
commit 50797e5954

View File

@@ -679,7 +679,7 @@ static int tve_probe(struct platform_device *pdev)
u32 conf_reg;
if (g_enable_tve == false)
return 0;
return -ENODEV;
INIT_LIST_HEAD(&tve_modelist.list);