Hi Sascha, Sascha Hauer writes: > Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> > Cc: Paul Mundt <lethal@xxxxxxxxxxxx> > Cc: linux-fbdev@xxxxxxxxxxxxxxx > Cc: Shawn Guo <shawn.guo@xxxxxxxxxxxxx> > --- > arch/arm/mach-mxs/include/mach/fb.h | 48 ++ > drivers/video/Kconfig | 9 + > drivers/video/Makefile | 1 + > drivers/video/mxsfb.c | 914 +++++++++++++++++++++++++++++++++++ > 4 files changed, 972 insertions(+), 0 deletions(-) > create mode 100644 arch/arm/mach-mxs/include/mach/fb.h > create mode 100644 drivers/video/mxsfb.c > [...] > diff --git a/drivers/video/mxsfb.c b/drivers/video/mxsfb.c > new file mode 100644 > index 0000000..92a5804 > --- /dev/null > +++ b/drivers/video/mxsfb.c [...] > +static int __devexit mxsfb_remove(struct platform_device *pdev) > +{ > + struct fb_info *fb_info = platform_get_drvdata(pdev); > + struct mxsfb_info *host = to_imxfb_host(fb_info); > + struct resource *res = platform_get_resource(pdev, IORESOURCE_MEM, 0); > + > + mxsfb_disable_controller(fb_info); > IMO this should also be guarded by an: | if (host->enabled) otherwise it may lead to an unbalanced clk_disable() call. Lothar WaÃmann -- ___________________________________________________________ Ka-Ro electronics GmbH | PascalstraÃe 22 | D - 52076 Aachen Phone: +49 2408 1402-0 | Fax: +49 2408 1402-10 GeschÃftsfÃhrer: Matthias Kaussen Handelsregistereintrag: Amtsgericht Aachen, HRB 4996 www.karo-electronics.de | info@xxxxxxxxxxxxxxxxxxx ___________________________________________________________ -- To unsubscribe from this list: send the line "unsubscribe linux-fbdev" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html