diff options
author | Liu Ying <b17645@freescale.com> | 2010-07-27 14:26:34 +0800 |
---|---|---|
committer | Liu Ying <b17645@freescale.com> | 2010-07-27 16:22:15 +0800 |
commit | d48bd2e1d1ecc166bdb23e2c2a60dd2e6ae0e772 (patch) | |
tree | 44c116744645c70fe78af9d3bbb65e4a820164a2 /drivers | |
parent | ec197f61d6dcc21393ab8ea3ffc5fe071914ccf2 (diff) |
ENGR00125608-2 LDB:Return error when LDB probe fails
This patch avoids LDB custom suspend/resume functions to be called.
Signed-off-by: Liu Ying <b17645@freescale.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/video/mxc/ldb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/mxc/ldb.c b/drivers/video/mxc/ldb.c index e5cb38212adc..fe58146df3cb 100644 --- a/drivers/video/mxc/ldb.c +++ b/drivers/video/mxc/ldb.c @@ -784,7 +784,7 @@ static int ldb_probe(struct platform_device *pdev) struct class *mxc_ldb_class; if (g_enable_ldb == false) - return 0; + return -ENODEV; spin_lock_init(&ldb_lock); |