]> git.baikalelectronics.ru Git - kernel.git/commit
video: s3c-fb: Use s3c_fb_enable() to enable the framebuffer
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 27 Dec 2011 14:16:08 +0000 (14:16 +0000)
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Tue, 3 Jan 2012 16:00:04 +0000 (16:00 +0000)
commit3325c8e73c08dee291c4f585a0ba0ac88a42dd4b
tree438cdabf6d39f351b913a87f7bd64643dd5a5521
parentdedb5594a8cb7c967fcc1fdd64f00fe76bdc7c0c
video: s3c-fb: Use s3c_fb_enable() to enable the framebuffer

The s3c-fb driver has a function called s3c_fb_enable() which turns on
and off the physical output. However it is only actually used in paths
which disable the screen, the enabling just writes to the register. Make
the code less confusing by ensuring that the enable also goes through
the same path.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
drivers/video/s3c-fb.c