mirror of
https://github.com/genesi/linux-legacy.git
synced 2026-09-05 22:37:51 +00:00
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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user