Date:2012-06-06 13:53:03 (7 years 11 months ago)
Author:Paul Cercueil
Commit:0ba1f089538f325fc7b647a14168aa9aed3e84f6
Message:MIPS: JZ4740: SLCD: Rely on jzfb->tv_out instead of detecting TV-out state.

Files: drivers/video/jz4740_slcd_fb.c (1 diff)

Change Details

drivers/video/jz4740_slcd_fb.c
503503    } else {
504504        if (jzfb->is_enabled) {
505505            /* No sleep in TV-out mode. */
506            if (readl(jzfb->base + JZ_REG_LCD_CFG) & JZ_LCD_CFG_SLCD)
506            if (jzfb->tv_out == FB_A320TV_OFF)
507507                jzfb_disable(jzfb);
508508            else
509509                ret = -EBUSY;

Archive Download the corresponding diff file



interactive