If image->depth != 1, lynxfb_ops_imageblit() should fallback to call
cfb_imageblit(), not return directly. Otherwise it can't display the
boot logo.

V2: Coding style ajustment.

Cc: Teddy Wang <teddy.w...@siliconmotion.com>
Cc: Sudip Mukherjee <sudipm.mukher...@gmail.com>
Signed-off-by: Huacai Chen <che...@lemote.com>
---
 drivers/staging/sm750fb/sm750.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/staging/sm750fb/sm750.c b/drivers/staging/sm750fb/sm750.c
index 3c7ea95..fab8dce 100644
--- a/drivers/staging/sm750fb/sm750.c
+++ b/drivers/staging/sm750fb/sm750.c
@@ -279,7 +279,9 @@ static void lynxfb_ops_imageblit(struct fb_info *info,
                }
                goto _do_work;
        }
+       cfb_imageblit(info, image);
        return;
+
 _do_work:
        /*
         * If not use spin_lock, system will die if user load driver
-- 
1.7.7.3




_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to