Date:2012-05-12 21:04:02 (8 years 5 months ago)
Author:Paul Cercueil
Commit:589e5595f15c723b29489f32958597e8a3e22c76
Message:MIPS: JZ4740: SLCD: lock the console before blanking on TV-out.

Leaving the console unlocked here may lead to kernel crashes.
Files: drivers/video/jz4740_slcd_fb.c (1 diff)

Change Details

drivers/video/jz4740_slcd_fb.c
682682    }
683683
684684    /* reaffirm the current blanking state, to trigger a backlight update */
685    console_lock();
685686    fb_notifier_call_chain(FB_EVENT_BLANK, &event);
687    console_unlock();
686688    jzfb->tv_out = mode;
687689    return 0;
688690}

Archive Download the corresponding diff file



interactive