9
0
Fork 0

drivers/video: remove pxafb enable on load

As pxafb can rely on a PWM to control backlight, and because
driver dependencies are hard to deal with, remove automatic
enable of PXAFB on probe.

The user should in its environment do a :
 - fb0.enable=1

This way, the PWM has been probed and is ready to work, and
the pxafb backlight control works.

Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Robert Jarzmik 2012-02-16 19:23:48 +01:00 committed by Sascha Hauer
parent bf841a598e
commit b1cf1685d3
2 changed files with 0 additions and 4 deletions

View File

@ -64,7 +64,6 @@ struct pxafb_videomode {
struct pxafb_platform_data {
struct pxafb_videomode *mode;
unsigned int lcd_conn;
int enable_on_load;
/** force a memory area to be used, else NULL for dynamic allocation */
void *framebuffer;

View File

@ -538,9 +538,6 @@ static int pxafb_probe(struct device_d *dev)
return ret;
}
if (pdata->enable_on_load)
info->fbops->fb_enable(info);
return 0;
}